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

move watchdog.h to drivers/watchdog.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:44 -04:00
commit d4d20677ac
14 changed files with 266 additions and 251 deletions

View file

@ -27,7 +27,7 @@
#include <uart.h>
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
#include <watchdog.h>
#include <drivers/watchdog.h>
#include <ztest.h>