提交 502dac55 编写于 作者: N Nishanth Menon 提交者: Tom Rini

twl6030: add header guard

Add an header guard to common header file to prevent multiple includes
messing things up.
Signed-off-by: NNishanth Menon <nm@ti.com>
上级 ebce10e5
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
* MA 02111-1307 USA * MA 02111-1307 USA
*/ */
#ifndef TWL6030_H
#define TWL6030_H
#include <common.h> #include <common.h>
#include <i2c.h> #include <i2c.h>
...@@ -144,3 +147,5 @@ void twl6030_stop_usb_charging(void); ...@@ -144,3 +147,5 @@ void twl6030_stop_usb_charging(void);
int twl6030_get_battery_voltage(void); int twl6030_get_battery_voltage(void);
int twl6030_get_battery_current(void); int twl6030_get_battery_current(void);
void twl6030_power_mmc_init(void); void twl6030_power_mmc_init(void);
#endif /* TWL6030_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册