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 <[email protected]>
Cc: Baruch Siach <[email protected]>
Cc: Ben Dooks <[email protected]>
---
 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
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to