]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Allow I2C bus driver to be compiled as a module
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Wed, 18 Feb 2009 09:22:18 +0000 (09:22 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 18 Feb 2009 23:35:36 +0000 (15:35 -0800)
commit4994d1ec9f118c12298f504fe907135862628bf3
tree602677f3a73e89d955a3d44a31adfe4c9e167acd
parent9509566544da8617ba4e130686b6010dd0e82157
ARM: OMAP: Allow I2C bus driver to be compiled as a module

Fixes a linker error when OMAP I2C bus driver is compiled as a module:

   ERROR: "i2c_register_board_info" [arch/arm/plat-omap/i2c.ko] undefined!

The I2C utility functions used for board initialization should be always
built-in.

Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/include/mach/common.h