]> Git Repo - linux.git/commitdiff
clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX
authorFlorian Fainelli <[email protected]>
Tue, 22 Nov 2016 17:43:27 +0000 (09:43 -0800)
committerStephen Boyd <[email protected]>
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 <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
[[email protected]: Drop default part as it's redundant]
Signed-off-by: Stephen Boyd <[email protected]>
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
This page took 0.056353 seconds and 4 git commands to generate.