From bb91502465da8432b5b38a0eb12be3af8238c22d Mon Sep 17 00:00:00 2001 From: CXSforHPU <156403074+CXSforHPU@users.noreply.github.com> Date: Sat, 14 Sep 2024 05:40:40 +0800 Subject: [drivers] Specifies the name of the drivers driver file https://github.com/RT-Thread/rt-thread/pull/9420 --- components/drivers/include/rtdevice.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'components/drivers/include/rtdevice.h') diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index caff5284e5..c8ed3c0489 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -66,7 +66,7 @@ extern "C" { #endif /* RT_USING_RTC */ #ifdef RT_USING_SPI -#include "drivers/spi.h" +#include "drivers/dev_spi.h" #endif /* RT_USING_SPI */ #ifdef RT_USING_MTD_NOR @@ -87,9 +87,9 @@ extern "C" { #ifdef RT_USING_SERIAL #ifdef RT_USING_SERIAL_V2 -#include "drivers/serial_v2.h" +#include "drivers/dev_serial_v2.h" #else -#include "drivers/serial.h" +#include "drivers/dev_serial.h" #endif #endif /* RT_USING_SERIAL */ @@ -111,14 +111,14 @@ extern "C" { #endif /* RT_USING_PHY */ #ifdef RT_USING_SDIO -#include "drivers/mmcsd_core.h" -#include "drivers/sd.h" -#include "drivers/sdio.h" +#include "drivers/dev_mmcsd_core.h" +#include "drivers/dev_sd.h" +#include "drivers/dev_sdio.h" #endif /* RT_USING_SDIO */ #ifdef RT_USING_WDT -#include "drivers/watchdog.h" +#include "drivers/dev_watchdog.h" #endif /* RT_USING_WDT */ #ifdef RT_USING_PIN @@ -190,7 +190,7 @@ extern "C" { #endif /* RT_USING_INPUT_CAPTURE */ #ifdef RT_USING_TOUCH -#include "drivers/touch.h" +#include "drivers/dev_touch.h" #endif #ifdef RT_USING_DEV_BUS -- cgit v1.3.1