cleanup: include/: move spi.h to drivers/spi.h
move spi.h to drivers/spi.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
8c1f89fa99
commit
bd70f6f1ed
54 changed files with 481 additions and 466 deletions
|
@ -14,7 +14,7 @@ LOG_MODULE_REGISTER(display_ili9340);
|
|||
|
||||
#include <drivers/gpio.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <spi.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <string.h>
|
||||
|
||||
struct ili9340_data {
|
||||
|
|
|
@ -13,7 +13,7 @@ LOG_MODULE_REGISTER(ssd1673);
|
|||
#include <display.h>
|
||||
#include <init.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <spi.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
#include "ssd1673_regs.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue