projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc/83xx: Fix build error when CONFIG_PCI=n
[linux-2.6-microblaze.git]
/
arch
/
powerpc
/
platforms
/
83xx
/
mpc83xx.h
diff --git
a/arch/powerpc/platforms/83xx/mpc83xx.h
b/arch/powerpc/platforms/83xx/mpc83xx.h
index
f37d043
..
a30d305
100644
(file)
--- a/
arch/powerpc/platforms/83xx/mpc83xx.h
+++ b/
arch/powerpc/platforms/83xx/mpc83xx.h
@@
-76,7
+76,7
@@
extern void mpc83xx_ipic_init_IRQ(void);
#ifdef CONFIG_PCI
extern void mpc83xx_setup_pci(void);
#else
#ifdef CONFIG_PCI
extern void mpc83xx_setup_pci(void);
#else
-#define mpc83xx_setup_pci
() do {} while (0)
+#define mpc83xx_setup_pci
NULL
#endif
extern int mpc83xx_declare_of_platform_devices(void);
#endif
extern int mpc83xx_declare_of_platform_devices(void);