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:
Anas Nashif 2019-06-25 15:54:01 -04:00
commit bd70f6f1ed
54 changed files with 481 additions and 466 deletions

View file

@ -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 {

View file

@ -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"