From: Kevin Hilman Date: Thu, 20 Oct 2005 15:57:01 +0000 (-0700) Subject: ARM: OMAP: fix to compile when CONFIG_I2C not enabled X-Git-Tag: v2.6.15-omap2~131 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f9820dd36a5339a78d3fedf7b9178fffe34b54b3;p=linux-2.6-omap-h63xx.git ARM: OMAP: fix to compile when CONFIG_I2C not enabled Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index b3c21f06953..fe83bb6234b 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c @@ -93,6 +93,8 @@ static void omap_init_i2c(void) (void) platform_device_register(&omap_i2c_device1); } +#else +static inline void omap_init_i2c(void) {} #endif /*-------------------------------------------------------------------------*/