From: Nishanth Menon Date: Tue, 26 Mar 2013 05:20:58 +0000 (+0000) Subject: palmas: add header guard X-Git-Tag: v2013.07-rc1~83^2~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da2cc4545b7dfcff32eb2bb7feab43e1be9792f6;p=oweals%2Fu-boot.git palmas: add header guard Add an header guard to common header file to prevent multiple includes messing things up. Signed-off-by: Nishanth Menon --- 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 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ +#ifndef PALMAS_H +#define PALMAS_H #include #include @@ -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 */