]> 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, 4 Mar 2009 18:07:41 +0000 (10:07 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Mar 2009 18:07:41 +0000 (10:07 -0800)
commite951651657610305c9af0045fd64c6a5b0bc4b80
treea6e0df1485fadf8dddc0ac5c0fbc1a02d6427c7f
parent80ea3bac3a47bc73efa334d0dd57099d0ff14216
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