linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
@ 2014-11-24  0:32 Max Schwarz
  2014-11-24  8:05 ` Uwe Kleine-König
  0 siblings, 1 reply; 7+ messages in thread
From: Max Schwarz @ 2014-11-24  0:32 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Doug Anderson, Linux I2C, Jean Delvare, Heiko Stübner

Now that we are using the clk notifier framework we get compile errors
without COMMON_CLK. But the driver fails to probe without COMMON_CLK
anyways, so just add that as a Kconfig dependency.

Signed-off-by: Max Schwarz <max.schwarz-BGeptl67XyCzQB+pC5nmwQ@public.gmane.org>
---

As reported by the kbuild test robot at Intel Open Source.

 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index a940e33..bb66119 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -720,7 +720,7 @@ config I2C_RIIC
 
 config I2C_RK3X
 	tristate "Rockchip RK3xxx I2C adapter"
-	depends on OF
+	depends on OF && COMMON_CLK
 	help
 	  Say Y here to include support for the I2C adapter in Rockchip RK3xxx
 	  SoCs.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-24 10:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24  0:32 [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK Max Schwarz
2014-11-24  8:05 ` Uwe Kleine-König
     [not found]   ` <20141124080509.GK4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24  9:31     ` Wolfram Sang
2014-11-24  9:38       ` Uwe Kleine-König
     [not found]         ` <20141124093823.GN4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24  9:58           ` Wolfram Sang
2014-11-24  9:59             ` Uwe Kleine-König
     [not found]               ` <20141124095954.GR4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 10:06                 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).