From 07324afb0ed41d54f566e30a886563fe81a7d2b3 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 31 Oct 2005 16:26:14 -0800 Subject: [PATCH] Fix compile without CONFIG_I2C Signed-off-by: Imre Deak Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/devices.c | 4 ++++ 1 file changed, 4 insertions(+) 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 /*-------------------------------------------------------------------------*/ -- 2.41.1