Messages in this thread | | | Date | Thu, 13 Mar 2008 10:30:42 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH 2/3] Driver core: Call device_pm_add() after bus_add_device() in device_add() |
| |
On Wed 2008-03-12 00:59:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rjw@sisk.pl> > > Include dpm_sysfs_add() into device_pm_add(), in analogy with > device_pm_remove(), and modify device_add() to call the latter after > bus_add_device(), to avoid situations in which the PM core may > attempt to suspend a device the registration of which has not been > successful. > > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
ACK.
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |