diff options
author | Adrian Cox <adrian@humboldt.co.uk> | 2006-03-08 23:10:20 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-17 03:23:21 +0100 |
commit | bbbe1212bd6f815290f782ba5b489467b54131dc (patch) | |
tree | 3964aa125e7039ff005779d0ba88205d1f9e5f3c /arch/ppc/platforms/ev64260.c | |
parent | [PATCH] powerpc: add a raw dump command to xmon (diff) | |
download | linux-bbbe1212bd6f815290f782ba5b489467b54131dc.tar.xz linux-bbbe1212bd6f815290f782ba5b489467b54131dc.zip |
[PATCH] ppc: Fix platform_notify functions marked __init
While adding USB support to an MV64360 based board this week, I
discovered that all MV64x60 boards in the kernel have platform_notify
functions marked with __init. This causes an oops if a device is added
after boot.
The patch below removes the __init markers. I do not have all these
boards to test on, but the change seems very unlikely to break anything
else.
Signed-off-by: Adrian Cox <adrian@humboldt.co.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/ev64260.c')
-rw-r--r-- | arch/ppc/platforms/ev64260.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/platforms/ev64260.c b/arch/ppc/platforms/ev64260.c index 6444760caa3a..31e8e21e1d5c 100644 --- a/arch/ppc/platforms/ev64260.c +++ b/arch/ppc/platforms/ev64260.c @@ -414,7 +414,7 @@ ev64260_fixup_mpsc_pdata(struct platform_device *pdev) return; } -static int __init +static int ev64260_platform_notify(struct device *dev) { static struct { |