From: Imre Deak Date: Tue, 1 Nov 2005 00:26:14 +0000 (-0800) Subject: Fix compile without CONFIG_I2C X-Git-Tag: v2.6.15-omap2~120 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=07324afb0ed41d54f566e30a886563fe81a7d2b3;p=linux-2.6-omap-h63xx.git Fix compile without CONFIG_I2C Signed-off-by: Imre Deak Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 1cf70d38276..20ab7aafb8d 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -68,6 +68,10 @@ static void omap_init_i2c(void) (void) platform_device_register(&omap_i2c_device2); } +#else + +static void omap_init_i2c(void) {} + #endif /*-------------------------------------------------------------------------*/