mpc5xxx: add pci_mpc5xxx_init prototype to common header
authorAnatolij Gustschin <agust@denx.de>
Sun, 12 Aug 2012 23:38:09 +0000 (23:38 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Sep 2012 12:19:02 +0000 (14:19 +0200)
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@denx.de>
include/mpc5xxx.h

index 859d6961940361372afb1e370a329aa69b32665d..84d27c90edabfd5aa674c1836b64c16de9db351d 100644 (file)
@@ -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__ */