From 39d3d397ae481f0af573f000f76b490dc8e56e7b Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 27 Apr 2021 15:33:45 +0200 Subject: [PATCH] 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 --- include/power/reboot.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/power/reboot.h diff --git a/include/power/reboot.h b/include/power/reboot.h new file mode 100644 index 00000000000..22ecd45d904 --- /dev/null +++ b/include/power/reboot.h @@ -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 + +#endif /* ZEPHYR_INCLUDE_POWER_REBOOT_H_ */