clk: si5351: make clk-si5351 depend on CONFIG_OF
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 15 Apr 2013 07:00:14 +0000 (09:00 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 16 Apr 2013 04:42:56 +0000 (21:42 -0700)
Calling clk-si5351 driver non-OF ready was too early. This patch
makes clk-si5351 depend on CONFIG_OF again, until things get sorted out.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed spelling of Stephen's name]

drivers/clk/Kconfig

index 186dd0edca8f6417431269b3cb35e9fc2836fe5f..0357ac44638ba5f70ee623939697a1f1023b9440 100644 (file)
@@ -58,6 +58,7 @@ config COMMON_CLK_MAX77686
 config COMMON_CLK_SI5351
        tristate "Clock driver for SiLabs 5351A/B/C"
        depends on I2C
+       depends on OF
        select REGMAP_I2C
        select RATIONAL
        ---help---