cleanup: include/: move pwm.h to drivers/pwm.h

move pwm.h to drivers/pwm.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:58 -04:00
commit 5843884887
23 changed files with 206 additions and 191 deletions

View file

@ -13,7 +13,7 @@
#include <soc.h>
#include <errno.h>
#include <pwm.h>
#include <drivers/pwm.h>
#include <kernel.h>
#include <drivers/gpio.h>
#include <string.h>