diff options
author | Marian Balakowicz <m8@semihalf.com> | 2007-11-09 12:11:56 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-01-18 11:30:07 -0500 |
commit | f584bc65ca9b9a4c21cc17bb01883874e2e6df0a (patch) | |
tree | e90c2c73b127d2cf2e187a269a80daa0ca9b710d /include/asm-powerpc | |
parent | a6f024bbbef1f529cd6bee57f3ff576139e6f8d7 (diff) |
[POWERPC] mpc5200: Add common mpc52xx_setup_pci() routine
This patch moves a generic pci init code from lite5200
platform file to a common mpc52xx_setup_pci() routine
and adds additional compatibility property verification.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/mpc52xx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h index fcb2ebbfddbc..d7efbe09f93b 100644 --- a/include/asm-powerpc/mpc52xx.h +++ b/include/asm-powerpc/mpc52xx.h | |||
@@ -257,7 +257,12 @@ extern void mpc52xx_declare_of_platform_devices(void); | |||
257 | extern void mpc52xx_init_irq(void); | 257 | extern void mpc52xx_init_irq(void); |
258 | extern unsigned int mpc52xx_get_irq(void); | 258 | extern unsigned int mpc52xx_get_irq(void); |
259 | 259 | ||
260 | #ifdef CONFIG_PCI | ||
260 | extern int __init mpc52xx_add_bridge(struct device_node *node); | 261 | extern int __init mpc52xx_add_bridge(struct device_node *node); |
262 | extern void __init mpc52xx_setup_pci(void); | ||
263 | #else | ||
264 | static inline void mpc52xx_setup_pci(void) { } | ||
265 | #endif | ||
261 | 266 | ||
262 | extern void __init mpc52xx_map_wdt(void); | 267 | extern void __init mpc52xx_map_wdt(void); |
263 | extern void mpc52xx_restart(char *cmd); | 268 | extern void mpc52xx_restart(char *cmd); |