i2c: fix build bug in i2c-designware.c
commit47749b14e55cd167632f9a27a4fc439e591e5268
authorIngo Molnar <mingo@elte.hu>
Thu, 25 Jun 2009 06:27:14 +0000 (25 08:27 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jun 2009 18:22:12 +0000 (25 11:22 -0700)
tree32e279ee4bc81eaea9ea647476255b696e47b831
parent28d0325ce6e0a52f53d8af687e6427fee59004d3
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>
drivers/i2c/busses/Kconfig