PM: Split up sysdev_[suspend|resume] from device_power_[down|up], fix
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 21:07:03 +0000 (22:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 21:09:33 +0000 (22:09 +0100)
commit0f99fed4606dcbcbe813df831a39fd8f9653ef54
treef1f50e56d40c2ed64a3f04a621c3f0e7a01dcbd5
parent770824bdc421ff58a64db608294323571c949f4c
PM: Split up sysdev_[suspend|resume] from device_power_[down|up], fix

Impact: module build fix

Fix:

 ERROR: "sysdev_resume" [arch/x86/kernel/apm.ko] undefined!
 ERROR: "sysdev_suspend" [arch/x86/kernel/apm.ko] undefined!

As these APIs are now used by the APM driver, which can be built
as a module.

Also fix a few extra (and inconsistent) newlines in comment blocks
preceding these functions.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/base/sys.c