summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebce10e)
raw | patch | inline | side by side (parent: ebce10e)
author | Nishanth Menon <nm@ti.com> | |
Tue, 26 Mar 2013 05:20:53 +0000 (05:20 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Fri, 10 May 2013 12:25:54 +0000 (08:25 -0400) |
Add an header guard to common header file to prevent multiple includes
messing things up.
Signed-off-by: Nishanth Menon <nm@ti.com>
messing things up.
Signed-off-by: Nishanth Menon <nm@ti.com>
include/twl6030.h | patch | blob | history |
diff --git a/include/twl6030.h b/include/twl6030.h
index f7ba3c7b1ff031563eb7071eff566b5a68d31b19..029b21f7108d369f7f04cd392430ddea70e7cf2c 100644 (file)
--- a/include/twl6030.h
+++ b/include/twl6030.h
* MA 02111-1307 USA
*/
* MA 02111-1307 USA
*/
+#ifndef TWL6030_H
+#define TWL6030_H
+
#include <common.h>
#include <i2c.h>
#include <common.h>
#include <i2c.h>
int twl6030_get_battery_voltage(void);
int twl6030_get_battery_current(void);
void twl6030_power_mmc_init(void);
int twl6030_get_battery_voltage(void);
int twl6030_get_battery_current(void);
void twl6030_power_mmc_init(void);
+
+#endif /* TWL6030_H */