projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21b9f2
)
[PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups
author
Sylvain Munaut
<tnt@246tNt.com>
Fri, 6 Jan 2006 08:11:35 +0000
(
00:11
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:31 +0000
(08:33 -0800)
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>
arch/ppc/syslib/mpc52xx_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ppc/syslib/mpc52xx_pci.c
b/arch/ppc/syslib/mpc52xx_pci.c
index 4ac19080eb85f804538ab53e0cff985b997fbf57..e6cb3e26615ae6cf17a841b2706bdf40a837690f 100644
(file)
--- 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)
#endif
}
-static void
__init
+static void
mpc52xx_pci_fixup_resources(struct pci_dev *dev)
{
int i;