Commit 07324afb authored by Imre Deak's avatar Imre Deak Committed by Tony Lindgren

Fix compile without CONFIG_I2C

Signed-off-by: default avatarImre Deak <imre.deak@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d8b9fa7f
...@@ -68,6 +68,10 @@ static void omap_init_i2c(void) ...@@ -68,6 +68,10 @@ static void omap_init_i2c(void)
(void) platform_device_register(&omap_i2c_device2); (void) platform_device_register(&omap_i2c_device2);
} }
#else
static void omap_init_i2c(void) {}
#endif #endif
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment