mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 04:01:56 +00:00
move clock_control.h to drivers/clock_control.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>
24 lines
648 B
C
24 lines
648 B
C
/*
|
|
* Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
* Copyright (c) 2016 BayLibre, SAS
|
|
* Copyright (c) 2017 Linaro Limited.
|
|
* Copyright (c) 2017 RnDity Sp. z o.o.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOCK_CONTROL_H_
|
|
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOCK_CONTROL_H_
|
|
|
|
#include <drivers/clock_control.h>
|
|
#include <dt-bindings/clock/stm32_clock.h>
|
|
|
|
/* common clock control device name for all STM32 chips */
|
|
#define STM32_CLOCK_CONTROL_NAME "stm32-cc"
|
|
|
|
struct stm32_pclken {
|
|
u32_t bus;
|
|
u32_t enr;
|
|
};
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOCK_CONTROL_H_ */
|