Generate a warning if included pointing to the new header. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
14 lines
309 B
C
14 lines
309 B
C
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_POWER_POWER_H_
|
|
#define ZEPHYR_INCLUDE_POWER_POWER_H_
|
|
|
|
#warning "<power/power.h> header is deprecated, use <pm/pm.h> instead"
|
|
|
|
#include <pm/pm.h>
|
|
|
|
#endif /* ZEPHYR_INCLUDE_POWER_POWER_H_ */
|