cleanup: include/: move gpio.h to drivers/gpio.h
move gpio.h to drivers/gpio.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
08a9961678
commit
6aa9c3a68f
175 changed files with 652 additions and 637 deletions
|
@ -12,7 +12,7 @@
|
|||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(display_ili9340);
|
||||
|
||||
#include <gpio.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <spi.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <zephyr.h>
|
||||
#include <init.h>
|
||||
#include <gpio.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <device.h>
|
||||
#include <string.h>
|
||||
#include <misc/printk.h>
|
||||
|
|
|
@ -11,7 +11,7 @@ LOG_MODULE_REGISTER(ssd1306);
|
|||
#include <string.h>
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <gpio.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <i2c.h>
|
||||
|
||||
#include "ssd1306_regs.h"
|
||||
|
|
|
@ -12,7 +12,7 @@ LOG_MODULE_REGISTER(ssd1673);
|
|||
#include <device.h>
|
||||
#include <display.h>
|
||||
#include <init.h>
|
||||
#include <gpio.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <spi.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue