]> git.baikalelectronics.ru Git - kernel.git/commit
clk: stm32: fix: stm32 clock drivers are not compiled by default
authorGabriel Fernandez <gabriel.fernandez@st.com>
Thu, 3 May 2018 06:40:09 +0000 (08:40 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 May 2018 22:47:03 +0000 (15:47 -0700)
commitc379e5973f1e943115b7049e69a7029793e89d38
tree395221f155bc39ee3ffd96f57b51445c9a0fbe42
parenta04daf96e4a9460bdb6bf6921f5b77c718e250c0
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: 51f51a5e0c69 ("clk: stm32: add configuration flags for each of the stm32 drivers")
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/Kconfig