diff options
author | Nishanth Menon <nm@ti.com> | 2013-03-26 05:20:53 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-10 08:25:54 -0400 |
commit | 502dac5568df4c67d7bb53b4aca242f2435eed73 (patch) | |
tree | b5825a139286f9ce77d791188f6137409b2c0e10 /include/twl6030.h | |
parent | ebce10e5b2542e71e1201c85dbe3b6432569a497 (diff) |
twl6030: add header guard
Add an header guard to common header file to prevent multiple includes
messing things up.
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/twl6030.h')
-rw-r--r-- | include/twl6030.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/twl6030.h b/include/twl6030.h index f7ba3c7b1ff..029b21f7108 100644 --- a/include/twl6030.h +++ b/include/twl6030.h @@ -21,6 +21,9 @@ * MA 02111-1307 USA */ +#ifndef TWL6030_H +#define TWL6030_H + #include <common.h> #include <i2c.h> @@ -144,3 +147,5 @@ void twl6030_stop_usb_charging(void); int twl6030_get_battery_voltage(void); int twl6030_get_battery_current(void); void twl6030_power_mmc_init(void); + +#endif /* TWL6030_H */ |