[U-Boot] [PATCH 1/4] mpc5xxx: add pci_mpc5xxx_init prototype to common header

Anatolij Gustschin agust at denx.de
Mon Aug 13 11:38:09 CEST 2012


Add pci_mpc5xxx_init() prototype to the header file, so board .c files
do not need to add extern pci_mpc5xxx_init() declaration.

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
 include/mpc5xxx.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index 859d696..84d27c9 100644
--- a/include/mpc5xxx.h
+++ b/include/mpc5xxx.h
@@ -898,8 +898,11 @@ struct mpc5xxx_xlb {
 	volatile u32 snoop_window;	/* XLB + 0x70 */
 };
 
+struct pci_controller;
+
 /* function prototypes */
 void loadtask(int basetask, int tasks);
+void pci_mpc5xxx_init(struct pci_controller *);
 
 #endif /* __ASSEMBLY__ */
 
-- 
1.7.7.6



More information about the U-Boot mailing list