power: provide old reboot header for compatibility
Make out-of-tree applications transition easier by providing the same header as before pointing to the new one. Once Zephyr modules are also migrated this header should produce a deprecation warning if included. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
f163bdb280
commit
39d3d397ae
1 changed files with 14 additions and 0 deletions
14
include/power/reboot.h
Normal file
14
include/power/reboot.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_POWER_REBOOT_H_
|
||||
#define ZEPHYR_INCLUDE_POWER_REBOOT_H_
|
||||
|
||||
/* NOTE: This header is kept for compatibility but will be deprecated soon */
|
||||
|
||||
#include <sys/reboot.h>
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_POWER_REBOOT_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue