Skip to content

Commit bb91502

Browse files
authored
[drivers] Specifies the name of the drivers driver file
#9420
1 parent 57d002b commit bb91502

File tree

219 files changed

+400
-398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+400
-398
lines changed

bsp/Infineon/libraries/HAL_Drivers/drv_sdcard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ static const struct _cy_sdio_pin_and_name_config _sdcard_config =
7979
};
8080

8181
#include <dfs_fs.h>
82-
#include <drivers/mmcsd_core.h>
83-
#include <drivers/gpt.h>
82+
#include <drivers/dev_mmcsd_core.h>
83+
#include <drivers/dev_gpt.h>
8484
struct rthw_sdio
8585
{
8686
struct rt_device parent;

bsp/Infineon/libraries/HAL_Drivers/drv_spi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define __DRV_SPI__
1313

1414
#include <rtthread.h>
15-
#include <drivers/spi.h>
15+
#include "drivers/dev_spi.h"
1616

1717
#include "drv_gpio.h"
1818

bsp/airm2m/air105/board/ports/spi_flash_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
#include <rtthread.h>
12-
#include "spi_flash.h"
13-
#include "spi_flash_sfud.h"
12+
#include "dev_spi_flash.h"
13+
#include "dev_spi_flash_sfud.h"
1414
#include "drv_spi.h"
1515

1616
#if defined(BSP_USING_SPI_FLASH)

bsp/airm2m/air105/libraries/rt_drivers/drv_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
#include "board.h"
12-
#include <drivers/watchdog.h>
12+
#include "drivers/dev_watchdog.h"
1313

1414
#ifdef RT_USING_WDT
1515

bsp/airm2m/air32f103/board/ports/spi_flash_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#include <rtthread.h>
1212
#include <board.h>
13-
#include "spi_flash.h"
14-
#include "spi_flash_sfud.h"
13+
#include "dev_spi_flash.h"
14+
#include "dev_spi_flash_sfud.h"
1515
#include "drv_spi.h"
1616

1717
#if defined(BSP_USING_SPI_FLASH)

bsp/airm2m/air32f103/libraries/rt_drivers/drv_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <rtthread.h>
1212
#include <rtdevice.h>
13-
#include <drivers/spi.h>
13+
#include "drivers/dev_spi.h"
1414
#include "board.h"
1515
#include "drv_spi.h"
1616

bsp/allwinner_tina/drivers/spi/drv_spi_flash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
#endif
2929

3030
#if defined(TINA_USING_SPI_FLASH) && defined(RT_USING_SFUD)
31-
#include "spi_flash.h"
32-
#include <spi_flash_sfud.h>
31+
#include "dev_spi_flash.h"
32+
#include <dev_spi_flash_sfud.h>
3333
rt_spi_flash_device_t spi_device;
3434
int rt_hw_spi_flash_with_sfud_init(void)
3535
{

bsp/apm32/apm32e103ze-evalboard/board/ports/spi_flash_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
#include <rtthread.h>
12-
#include "spi_flash.h"
13-
#include "spi_flash_sfud.h"
12+
#include "dev_spi_flash.h"
13+
#include "dev_spi_flash_sfud.h"
1414
#include "drv_spi.h"
1515

1616
#if defined(BSP_USING_SPI_FLASH)

bsp/apm32/apm32f051r8-evalboard/board/ports/spi_flash_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
#include <rtthread.h>
12-
#include "spi_flash.h"
13-
#include "spi_flash_sfud.h"
12+
#include "dev_spi_flash.h"
13+
#include "dev_spi_flash_sfud.h"
1414
#include "drv_spi.h"
1515

1616
#if defined(BSP_USING_SPI_FLASH)

bsp/apm32/apm32f107vc-evalboard/board/ports/spi_flash_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
#include <rtthread.h>
12-
#include "spi_flash.h"
13-
#include "spi_flash_sfud.h"
12+
#include "dev_spi_flash.h"
13+
#include "dev_spi_flash_sfud.h"
1414
#include "drv_spi.h"
1515

1616
#if defined(BSP_USING_SPI_FLASH)

0 commit comments

Comments
 (0)