Skip to content

Commit

Permalink
[PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sylvain Munaut authored and Linus Torvalds committed Jan 6, 2006
1 parent e21b9f2 commit dbeb198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/syslib/mpc52xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ mpc52xx_pci_setup(struct mpc52xx_pci __iomem *pci_regs)
#endif
}

static void __init
static void
mpc52xx_pci_fixup_resources(struct pci_dev *dev)
{
int i;
Expand Down

0 comments on commit dbeb198

Please sign in to comment.