clk: Hi6220: enable stub clock driver for ARCH_HISI
authorLeo Yan <leo.yan@linaro.org>
Wed, 31 Aug 2016 08:50:15 +0000 (16:50 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 15 Nov 2016 02:40:47 +0000 (18:40 -0800)
In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by
default, as result stub clock driver has not been registered and
CPUFreq driver cannot work.

This patch is to enable stub clock driver in config for ARCH_HISI.

Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/hisilicon/Kconfig

index f80773b7f9ef1efc3c25477b2b74c1543b514fff..cbed6602172be2f302db8d30698095a81a7f0463 100644 (file)
@@ -39,5 +39,6 @@ config RESET_HISI
 config STUB_CLK_HI6220
        bool "Hi6220 Stub Clock Driver"
        depends on COMMON_CLK_HI6220 && MAILBOX
+       default ARCH_HISI
        help
          Build the Hisilicon Hi6220 stub clock driver.