linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c-designware: Depend on HAVE_CLK
@ 2009-06-25 10:04 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2009-06-25 10:04 UTC (permalink / raw)
  To: Linux I2C; +Cc: Baruch Siach, Ben Dooks

Not all platforms implement the clk_*() function set, and the
i2c-designware driver can only be built when these functions are
available.

Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Baruch Siach <baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>
Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.31-rc1.orig/drivers/i2c/busses/Kconfig	2009-06-25 09:32:17.000000000 +0200
+++ linux-2.6.31-rc1/drivers/i2c/busses/Kconfig	2009-06-25 11:46:56.000000000 +0200
@@ -328,6 +328,7 @@ config I2C_DAVINCI
 
 config I2C_DESIGNWARE
 	tristate "Synopsys DesignWare"
+	depends on HAVE_CLK
 	help
 	  If you say yes to this option, support will be included for the
 	  Synopsys DesignWare I2C adapter. Only master mode is supported.


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-25 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 10:04 [PATCH] i2c-designware: Depend on HAVE_CLK Jean Delvare

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).