Commit f9820dd3 authored by Kevin Hilman's avatar Kevin Hilman

ARM: OMAP: fix to compile when CONFIG_I2C not enabled

Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 7b831f5a
......@@ -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
/*-------------------------------------------------------------------------*/
......
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