clk: Move HAVE_CLK config out of architecture layer
authorStephen Boyd <sboyd@kernel.org>
Thu, 9 Apr 2020 06:44:16 +0000 (23:44 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 May 2020 03:28:03 +0000 (20:28 -0700)
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>
arch/Kconfig
drivers/clk/Kconfig

index 786a85d..84fe540 100644 (file)
@@ -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
index 890bed6..6ea0631 100644 (file)
@@ -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