twl6030: 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>
This commit is contained in:
Nishanth Menon 2013-03-26 05:20:53 +00:00 committed by Tom Rini
parent ebce10e5b2
commit 502dac5568
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,9 @@
* MA 02111-1307 USA
*/
#ifndef TWL6030_H
#define TWL6030_H
#include <common.h>
#include <i2c.h>
@ -144,3 +147,5 @@ void twl6030_stop_usb_charging(void);
int twl6030_get_battery_voltage(void);
int twl6030_get_battery_current(void);
void twl6030_power_mmc_init(void);
#endif /* TWL6030_H */