drivers/base: Platform notify needs to occur before drivers attach to the device
authorBrian Walsh <brian@walsh.ws>
Tue, 15 Aug 2006 05:43:19 +0000 (22:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:39 +0000 (21:08 -0700)
commit370226449ced358e52d198081120826ef52c166b
treee436ccd6b5dea748bd432f84b71b0558b65511f0
parent8a6914ab7c95d471c23b42268aa8e1f55b3d2fdb
drivers/base: Platform notify needs to occur before drivers attach to the device

The platform_notify call for Arm and PPC architectures needs to be called
before the driver attaches to the device.  The problem only presents itself
when hotplugging certain devices while the driver is already loaded.

Signed-off-by: Brian Walsh <brian@walsh.ws>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c