Эх сурвалжийг харах

mpc5xxx: add pci_mpc5xxx_init prototype to common header

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>
Anatolij Gustschin 12 жил өмнө
parent
commit
3d50001363
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      include/mpc5xxx.h

+ 3 - 0
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__ */