forked from luck/tmp_suning_uos_patched
95d9ffbe01
Move the definition of 'struct pm_ops' and related functions from <linux/pm.h> to <linux/suspend.h> . There are, at least, the following reasons to do that: * 'struct pm_ops' is specifically related to suspend and not to the power management in general. * As long as 'struct pm_ops' is defined in <linux/pm.h>, any modification of it causes the entire kernel to be recompiled, which is unnecessary and annoying. * Some suspend-related features are already defined in <linux/suspend.h>, so it is logical to move the definition of 'struct pm_ops' into there. * 'struct hibernation_ops', being the hibernation-related counterpart of 'struct pm_ops', is defined in <linux/suspend.h> . Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Len Brown <lenb@kernel.org> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
akita-ioexp.c | ||
clock.c | ||
clock.h | ||
cm-x270-pci.c | ||
cm-x270-pci.h | ||
cm-x270.c | ||
corgi_lcd.c | ||
corgi_pm.c | ||
corgi_ssp.c | ||
corgi.c | ||
devices.h | ||
dma.c | ||
em-x270.c | ||
generic.c | ||
generic.h | ||
idp.c | ||
irq.c | ||
Kconfig | ||
leds-idp.c | ||
leds-lubbock.c | ||
leds-mainstone.c | ||
leds-trizeps4.c | ||
leds.c | ||
leds.h | ||
lpd270.c | ||
lubbock.c | ||
mainstone.c | ||
Makefile | ||
Makefile.boot | ||
mfp.c | ||
pm.c | ||
poodle.c | ||
pxa3xx.c | ||
pxa25x.c | ||
pxa27x.c | ||
pxa300.c | ||
pxa320.c | ||
sharpsl_pm.c | ||
sharpsl.h | ||
sleep.S | ||
spitz_pm.c | ||
spitz.c | ||
ssp.c | ||
standby.S | ||
time.c | ||
tosa.c | ||
trizeps4.c | ||
zylonite_pxa300.c | ||
zylonite_pxa320.c | ||
zylonite.c |