Commit 813f6c58 authored by Subramaniam C.A's avatar Subramaniam C.A Committed by Tony Lindgren

omap: i2c: Avoid compilation error in case the header is included multiple times

Added defines to avoid compilation error.
Signed-off-by: default avatarSubramaniam C.A <subramaniam.ca@ti.com>
Acked-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 82a0c149
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
* 02110-1301 USA * 02110-1301 USA
* *
*/ */
#ifndef __ASM__ARCH_OMAP_I2C_H
#define __ASM__ARCH_OMAP_I2C_H
#include <linux/i2c.h> #include <linux/i2c.h>
...@@ -36,3 +38,5 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, ...@@ -36,3 +38,5 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrate,
void __init omap1_i2c_mux_pins(int bus_id); void __init omap1_i2c_mux_pins(int bus_id);
void __init omap2_i2c_mux_pins(int bus_id); void __init omap2_i2c_mux_pins(int bus_id);
#endif /* __ASM__ARCH_OMAP_I2C_H */
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