palmas: 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>
diff --git a/include/palmas.h b/include/palmas.h
index e629fbf..3b18589 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -20,6 +20,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
+#ifndef PALMAS_H
+#define PALMAS_H
#include <common.h>
#include <i2c.h>
@@ -52,3 +54,5 @@
void palmas_init_settings(void);
int palmas_mmc1_poweron_ldo(void);
+
+#endif /* PALMAS_H */