projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2d57e
)
palmas: add header guard
author
Nishanth Menon
<nm@ti.com>
Tue, 26 Mar 2013 05:20:58 +0000
(
05:20
+0000)
committer
Tom Rini
<trini@ti.com>
Fri, 10 May 2013 12:25:55 +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>
include/palmas.h
patch
|
blob
|
history
diff --git
a/include/palmas.h
b/include/palmas.h
index
e629fbf
..
3b18589
100644
(file)
--- 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
@@
static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val)
void palmas_init_settings(void);
int palmas_mmc1_poweron_ldo(void);
+
+#endif /* PALMAS_H */