[PATCH] Fix platform_notify functions marked __init

Mark A. Greer mgreer at mvista.com
Fri Mar 10 04:36:17 EST 2006


On Wed, Mar 08, 2006 at 10:10:20PM +0000, Adrian Cox wrote:
> 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.

Arg...  I realized this a long time ago and fixed it in my tree.
Somewhere along the line, I dropped it, I guess.

Thanks for the patch Adrian.

Mark



More information about the Linuxppc-dev mailing list