[PATCH] ppc: Fix platform_notify functions marked __init
authorAdrian Cox <adrian@humboldt.co.uk>
Wed, 8 Mar 2006 22:10:20 +0000 (22:10 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Mar 2006 02:23:21 +0000 (13:23 +1100)
commitbbbe1212bd6f815290f782ba5b489467b54131dc
tree3964aa125e7039ff005779d0ba88205d1f9e5f3c
parent7e5b59384eebe35bff8429243f089931ce1cdf38
[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>
arch/ppc/platforms/cpci690.c
arch/ppc/platforms/ev64260.c
arch/ppc/platforms/ev64360.c
arch/ppc/platforms/hdpu.c
arch/ppc/platforms/katana.c
arch/ppc/platforms/radstone_ppc7d.c