PM: Export device_pm_schedule_removal
commit9617c3e460bbccb6d9496a1f1e6903eb81f336e9
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 25 Jan 2008 00:30:25 +0000 (25 01:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 Feb 2008 23:14:48 +0000 (2 15:14 -0800)
treeb77a19e6b082365c74bf0f1b3ee3909bbbf7f4cc
parent18bbe0c26ccb7445d19465b0d3585d23445307f1
PM: Export device_pm_schedule_removal

Move the declaration of device_pm_schedule_removal() to device.h
and make it exported, as it will be used directly by some drivers
for unregistering device objects during suspend/resume cycles in a
safe way.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c
drivers/base/power/power.h
include/linux/device.h