From 84cb35cc04d8896bad15b5e8eee3b53313012dfa Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Fri, 26 Nov 2021 12:52:05 +0100 Subject: [PATCH] drivers: timer: remove declaration for non-existing function The clock_device_ctrl function is no longer available, so remove its declaration. Signed-off-by: Gerard Marull-Paretas --- include/drivers/timer/system_timer.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/drivers/timer/system_timer.h b/include/drivers/timer/system_timer.h index 7b7da3d7770..7fda00f4219 100644 --- a/include/drivers/timer/system_timer.h +++ b/include/drivers/timer/system_timer.h @@ -38,17 +38,6 @@ extern "C" { */ extern int sys_clock_driver_init(const struct device *dev); -/** - * @brief Initialize system clock driver - * - * The system clock is a Zephyr device created globally. This is its - * device control callback, used in a few devices for power - * management. It is a weak symbol that will be implemented as a noop - * if undefined in the clock driver. - */ -extern int clock_device_ctrl(const struct device *dev, - enum pm_device_state state); - /** * @brief Set system clock timeout *