Skip to contentSkip to conversation

i2c-designware: Depend on HAVE_CLK

PATCH New Jean Delvare 1 participant 1 message Jun 25, 2009 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c-designware: Depend on HAVE_CLK

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

Cc Baruch Siach <[email protected]>
Cc Ben Dooks <[email protected]>
---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/i2c/busses/Kconfig +1 -0
@@ -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.
Signature · 1 line
Jean Delvare