aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon2013-03-26 00:20:58 -0500
committerTom Rini2013-05-10 07:25:55 -0500
commitda2cc4545b7dfcff32eb2bb7feab43e1be9792f6 (patch)
tree2043eaef72cb4cd725507a880218a9020b5fcec9
parentff2d57ea5e9b56e22c84647b9532292e5ea862f9 (diff)
downloadu-boot-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.tar.gz
u-boot-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.tar.xz
u-boot-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.zip
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>
-rw-r--r--include/palmas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/palmas.h b/include/palmas.h
index e629fbf998..3b185896d6 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -20,6 +20,8 @@
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA 21 * MA 02111-1307 USA
22 */ 22 */
23#ifndef PALMAS_H
24#define PALMAS_H
23 25
24#include <common.h> 26#include <common.h>
25#include <i2c.h> 27#include <i2c.h>
@@ -52,3 +54,5 @@ static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val)
52 54
53void palmas_init_settings(void); 55void palmas_init_settings(void);
54int palmas_mmc1_poweron_ldo(void); 56int palmas_mmc1_poweron_ldo(void);
57
58#endif /* PALMAS_H */