summaryrefslogtreecommitdiff
path: root/include/mpc5xxx.h
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 /include/mpc5xxx.h
parent7cddabce59f500efe38b0003641ea0d25b0822a2 (diff)
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>
Diffstat (limited to 'include/mpc5xxx.h')
-rw-r--r--include/mpc5xxx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index 859d696194..84d27c90ed 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__ */