mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-01 02:31:27 +02:00
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>
This commit is contained in:
parent
ff2d57ea5e
commit
da2cc4545b
@ -20,6 +20,8 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
* MA 02111-1307 USA
|
* MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
#ifndef PALMAS_H
|
||||||
|
#define PALMAS_H
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <i2c.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);
|
void palmas_init_settings(void);
|
||||||
int palmas_mmc1_poweron_ldo(void);
|
int palmas_mmc1_poweron_ldo(void);
|
||||||
|
|
||||||
|
#endif /* PALMAS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user