aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2006-01-06 03:11:35 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:31 -0500
commitdbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef (patch)
tree78380a8bb90dec84209a5edf268b2850cf743ed7 /arch/ppc
parente21b9f2e9a580ce7375ec58953c1bb19aabe0db4 (diff)
[PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups
The mpc52xx_pci_fixup_resources is not only called at init but also when there is a pci hotplug like when a cardbus card is plugged in. So that function is needed after init too. Thanks to Asier Llano Palacios for reporting this. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/syslib/mpc52xx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/mpc52xx_pci.c b/arch/ppc/syslib/mpc52xx_pci.c
index 4ac19080eb85..e6cb3e26615a 100644
--- a/arch/ppc/syslib/mpc52xx_pci.c
+++ b/arch/ppc/syslib/mpc52xx_pci.c
@@ -151,7 +151,7 @@ mpc52xx_pci_setup(struct mpc52xx_pci __iomem *pci_regs)
151#endif 151#endif
152} 152}
153 153
154static void __init 154static void
155mpc52xx_pci_fixup_resources(struct pci_dev *dev) 155mpc52xx_pci_fixup_resources(struct pci_dev *dev)
156{ 156{
157 int i; 157 int i;