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:
Anas Nashif 2019-06-25 15:53:52 -04:00
commit 6aa9c3a68f
175 changed files with 652 additions and 637 deletions

View file

@ -15,7 +15,7 @@
#include <errno.h>
#include <pwm.h>
#include <kernel.h>
#include <gpio.h>
#include <drivers/gpio.h>
#include <string.h>
#define PWM_ESP32_HSCH_HPOINT(i) (LEDC_HSCH0_HPOINT_REG + (0x14 * i))