cleanup: include/: move rtc.h to drivers/rtc.h
move rtc.h to drivers/rtc.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
5843884887
commit
fd359c21e9
7 changed files with 157 additions and 142 deletions
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <syscall_handler.h>
|
||||
#include <rtc.h>
|
||||
#include <drivers/rtc.h>
|
||||
|
||||
Z_SYSCALL_HANDLER(rtc_read, dev)
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <misc/util.h>
|
||||
#include <kernel.h>
|
||||
#include <soc.h>
|
||||
#include <rtc.h>
|
||||
#include <drivers/rtc.h>
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_STM32L4X)
|
||||
#define EXTI_LINE LL_EXTI_LINE_18
|
||||
|
|
|
@ -12,7 +12,7 @@ LOG_MODULE_REGISTER(rtc_mcux);
|
|||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <kernel.h>
|
||||
#include <rtc.h>
|
||||
#include <drivers/rtc.h>
|
||||
#include <power/power.h>
|
||||
#include <soc.h>
|
||||
#include <misc/util.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue