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

@ -11,7 +11,7 @@
#ifndef ZEPHYR_DRIVERS_SENSOR_LIS2DW12_LIS2DW12_H_
#define ZEPHYR_DRIVERS_SENSOR_LIS2DW12_LIS2DW12_H_
#include <spi.h>
#include <drivers/spi.h>
#include <drivers/gpio.h>
#include <misc/util.h>
#include <drivers/sensor.h>