diff options
author | Nishanth Menon <nm@ti.com> | 2013-03-26 05:20:58 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-10 08:25:55 -0400 |
commit | da2cc4545b7dfcff32eb2bb7feab43e1be9792f6 (patch) | |
tree | 2043eaef72cb4cd725507a880218a9020b5fcec9 | |
parent | ff2d57ea5e9b56e22c84647b9532292e5ea862f9 (diff) | |
download | u-boot-imx-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.zip u-boot-imx-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.tar.gz u-boot-imx-da2cc4545b7dfcff32eb2bb7feab43e1be9792f6.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ 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 */ |