i2c-designware: use div_u64 to fix link
authorVincent Stehlé <vincent.stehle@freescale.com>
Tue, 2 Jul 2013 09:46:54 +0000 (11:46 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 3 Jul 2013 20:07:51 +0000 (22:07 +0200)
commit97191d734f6ac028e5e6dcd574378c1544a16c0b
tree0055eb14024906705addbf992efc4f54134e38ca
parente0b9b7b06704eab2b95372a7c8daf9c0cce46bd0
i2c-designware: use div_u64 to fix link

This fixes the following link error:

  drivers/built-in.o: In function `dw_i2c_probe':
  of_iommu.c:(.text+0x18c8f0): undefined reference to `__aeabi_uldivmod'
  make: *** [vmlinux] Error 1

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Reviewed-by: Christian Ruppert <christian.ruppert@abilis.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c