
22 Mar
2013
22 Mar
'13
10:33 p.m.
Add an header guard to common header file to prevent multiple includes messing things up.
Signed-off-by: Nishanth Menon nm@ti.com --- include/twl6035.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/twl6035.h b/include/twl6035.h index edc2db5..d9131c1 100644 --- a/include/twl6035.h +++ b/include/twl6035.h @@ -21,6 +21,9 @@ * MA 02111-1307 USA */
+#ifndef TWL6035_H +#define TWL6035_H + #include <common.h> #include <i2c.h>
@@ -49,3 +52,5 @@ static inline int twl6035_i2c_read_u8(u8 chip_no, u8 reg, u8 *val)
void twl6035_init_settings(void); int twl6035_mmc1_poweron_ldo(void); + +#endif /* TWL6035_H */
--
1.7.9.5