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

@ -6,7 +6,7 @@
*/
#include <soc.h>
#include <watchdog.h>
#include <drivers/watchdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <logging/log.h>