diff options
author | Stephen Boyd <sboyd@kernel.org> | 2020-04-08 23:44:16 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-05-12 20:28:03 -0700 |
commit | bc8c945e0ad2ff6d725af9b10085c6ee5d35a563 (patch) | |
tree | ece8ef47c415ad240c40405cad2d287c2c14da1e | |
parent | c7725c9b74b4058a5ec16c88c29ad88947307f5c (diff) | |
download | linux-bc8c945e0ad2ff6d725af9b10085c6ee5d35a563.tar.bz2 |
clk: Move HAVE_CLK config out of architecture layer
The implementation of 'struct clk' is not really an architectual detail
anymore now that most architectures have migrated to the common clk
framework. To sway new architecture ports away from trying to implement
their own 'struct clk', move the config next to the common clk framework
config.
Cc: Russell King <linux@armlinux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200409064416.83340-11-sboyd@kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/Kconfig | 6 | ||||
-rw-r--r-- | drivers/clk/Kconfig | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 786a85d4ad40..84fe54085f63 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -328,12 +328,6 @@ config HAVE_FUNCTION_ARG_ACCESS_API the API needed to access function arguments from pt_regs, declared in asm/ptrace.h -config HAVE_CLK - bool - help - The <linux/clk.h> calls support software clock gating and - thus are a key power management tool on many systems. - config HAVE_HW_BREAKPOINT bool depends on PERF_EVENTS diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 890bed62196d..6ea0631e3956 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -1,5 +1,11 @@ # SPDX-License-Identifier: GPL-2.0 +config HAVE_CLK + bool + help + The <linux/clk.h> calls support software clock gating and + thus are a key power management tool on many systems. + config CLKDEV_LOOKUP bool select HAVE_CLK |