summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-08-12 23:38:09 +0000
committerWolfgang Denk <wd@denx.de>2012-09-01 14:19:02 +0200
commit3d500013633510cd77f8a7a809150810b75a545e (patch)
tree21a56ab73fcb580d452a04539f8f7111a90c5631
parent7cddabce59f500efe38b0003641ea0d25b0822a2 (diff)
downloadu-boot-imx-3d500013633510cd77f8a7a809150810b75a545e.zip
u-boot-imx-3d500013633510cd77f8a7a809150810b75a545e.tar.gz
u-boot-imx-3d500013633510cd77f8a7a809150810b75a545e.tar.bz2
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>
-rw-r--r--include/mpc5xxx.h3
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__ */