projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a0c14
)
omap: i2c: Avoid compilation error in case the header is included multiple times
author
Subramaniam C.A
<subramaniam.ca@ti.com>
Tue, 24 Aug 2010 17:02:28 +0000
(12:02 -0500)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 27 Sep 2010 17:15:25 +0000
(10:15 -0700)
Added defines to avoid compilation error.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/i2c.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/include/plat/i2c.h
b/arch/arm/plat-omap/include/plat/i2c.h
index
87f6bf2
..
36a0bef
100644
(file)
--- a/
arch/arm/plat-omap/include/plat/i2c.h
+++ b/
arch/arm/plat-omap/include/plat/i2c.h
@@
-18,6
+18,8
@@
* 02110-1301 USA
*
*/
+#ifndef __ASM__ARCH_OMAP_I2C_H
+#define __ASM__ARCH_OMAP_I2C_H
#include <linux/i2c.h>
@@
-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 omap2_i2c_mux_pins(int bus_id);
+
+#endif /* __ASM__ARCH_OMAP_I2C_H */