提交 9a160601 编写于 作者: G Gabriel Fernandez 提交者: Stephen Boyd

clk: stm32: fix: stm32 clock drivers are not compiled by default

Clock driver is mandatory if the machine is selected.
Then don't use 'bool' and 'depends on' commands, but 'def_bool'
with the machine(s).

Fixes: da32d353 ("clk: stm32: add configuration flags for each of the stm32 drivers")
Signed-off-by: NGabriel Fernandez <gabriel.fernandez@st.com>
Acked-by: NAlexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: NStephen Boyd <sboyd@kernel.org>
上级 2e5be528
...@@ -266,15 +266,13 @@ config COMMON_CLK_STM32MP157 ...@@ -266,15 +266,13 @@ config COMMON_CLK_STM32MP157
Support for stm32mp157 SoC family clocks Support for stm32mp157 SoC family clocks
config COMMON_CLK_STM32F config COMMON_CLK_STM32F
bool "Clock driver for stm32f4 and stm32f7 SoC families" def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
depends on MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746
help help
---help--- ---help---
Support for stm32f4 and stm32f7 SoC families clocks Support for stm32f4 and stm32f7 SoC families clocks
config COMMON_CLK_STM32H7 config COMMON_CLK_STM32H7
bool "Clock driver for stm32h7 SoC family" def_bool COMMON_CLK && MACH_STM32H743
depends on MACH_STM32H743
help help
---help--- ---help---
Support for stm32h7 SoC family clocks Support for stm32h7 SoC family clocks
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册