[U-Boot] [PATCH 1/2] power/pmic.h: Add prototype for power_init_board.

Tom Rini trini at ti.com
Mon Jun 23 22:06:28 CEST 2014


As this is a weak function that we may override, provide a prototype for
it.

Cc: Łukasz Majewski <l.majewski at samsung.com>
Signed-off-by: Tom Rini <trini at ti.com>
---
 include/power/pmic.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/power/pmic.h b/include/power/pmic.h
index a62e6c9..afbc5aa 100644
--- a/include/power/pmic.h
+++ b/include/power/pmic.h
@@ -79,6 +79,7 @@ struct pmic {
 };
 
 int pmic_init(unsigned char bus);
+int power_init_board(void);
 int pmic_dialog_init(unsigned char bus);
 int check_reg(struct pmic *p, u32 reg);
 struct pmic *pmic_alloc(void);
-- 
1.7.9.5



More information about the U-Boot mailing list