diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-25 02:27:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-25 14:22:12 -0400 |
commit | 47749b14e55cd167632f9a27a4fc439e591e5268 (patch) | |
tree | 32e279ee4bc81eaea9ea647476255b696e47b831 /drivers/i2c | |
parent | 28d0325ce6e0a52f53d8af687e6427fee59004d3 (diff) |
i2c: fix build bug in i2c-designware.c
This build error triggers on x86:
drivers/built-in.o: In function `i2c_dw_init':
i2c-designware.c:(.text+0x4e37ca): undefined reference to `clk_get_rate'
drivers/built-in.o: In function `dw_i2c_probe':
i2c-designware.c:(.devinit.text+0x51f5e): undefined reference to `clk_get'
i2c-designware.c:(.devinit.text+0x51f76): undefined reference to `clk_enable'
i2c-designware.c:(.devinit.text+0x520ff): undefined reference to `clk_disable'
i2c-designware.c:(.devinit.text+0x52108): undefined reference to `clk_put'
Because this new driver uses the clk_*() facilities which is an
ARM-only thing currently.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index aa87b6a3bbef..8206442fbabd 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -328,6 +328,7 @@ config I2C_DAVINCI | |||
328 | 328 | ||
329 | config I2C_DESIGNWARE | 329 | config I2C_DESIGNWARE |
330 | tristate "Synopsys DesignWare" | 330 | tristate "Synopsys DesignWare" |
331 | depends on HAVE_CLK | ||
331 | help | 332 | help |
332 | If you say yes to this option, support will be included for the | 333 | If you say yes to this option, support will be included for the |
333 | Synopsys DesignWare I2C adapter. Only master mode is supported. | 334 | Synopsys DesignWare I2C adapter. Only master mode is supported. |