clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 22 Nov 2016 17:43:27 +0000 (09:43 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Nov 2016 22:31:11 +0000 (14:31 -0800)
With commit f4e871509959 ("clk: iproc: Make clocks visible options"),
COMMON_CLK_IPROC gained a dependency on ARCH_BCM_IPROC, yet CLK_BCM_63XX
also selects that option, this causes the following Kconfig warning:

warning: (CLK_BCM_63XX) selects COMMON_CLK_IPROC which has unmet direct
dependencies ((ARCH_BCM_IPROC || COMPILE_TEST) && COMMON_CLK)

Fix this by adding proper depends for COMMON_CLK_IPROC

Fixes: f4e871509959 ("clk: iproc: Make clocks visible options")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
[sboyd@codeaurora.org: Drop default part as it's redundant]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/Kconfig

index f21e9b7afd1ad3ab25f210ea0de59eabb5721015..e3eed5a784044c3db5e1260d82e7a200ff4b62e6 100644 (file)
@@ -20,7 +20,7 @@ config CLK_BCM_KONA
 
 config COMMON_CLK_IPROC
        bool "Broadcom iProc clock support"
-       depends on ARCH_BCM_IPROC || COMPILE_TEST
+       depends on ARCH_BCM_IPROC || ARCH_BCM_63XX || COMPILE_TEST
        depends on COMMON_CLK
        default ARCH_BCM_IPROC
        help