[PATCH] clk: si5351: make clk-si5351 depend on CONFIG_OF

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Apr 15 03:00:14 EDT 2013


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 at gmail.com>
Reported-by: Stephen Rottweil <sfr at canb.auug.org.au>
---
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Cc: Grant Likely <grant.likely at secretlab.ca>
Cc: Rob Herring <rob.herring at calxeda.com>
Cc: Rob Landley <rob at landley.net>
Cc: Mike Turquette <mturquette at linaro.org>
Cc: Stephen Warren <swarren at nvidia.com>
Cc: Thierry Reding <thierry.reding at avionic-design.de>
Cc: Dom Cobley <popcornmix at gmail.com>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Pawel Moll <pawel.moll at arm.com>
Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
Cc: Russell King - ARM Linux <linux at arm.linux.org.uk>
Cc: Rabeeh Khoury <rabeeh at solid-run.com>
Cc: Daniel Mack <zonque at gmail.com>
Cc: Jean-Francois Moine <moinejf at free.fr>
Cc: Lars-Peter Clausen <lars at metafoo.de>
Cc: Guenter Roeck <linux at roeck-us.net>
Cc: Michal Bachraty <michal.bachraty at streamunlimited.com>
Cc: devicetree-discuss at lists.ozlabs.org
Cc: linux-doc at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 5039e41..6412f55 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -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---
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list