[PATCH] pm_message_t: more fixes in common and i386
I thought I'm done with fixing u32 vs. pm_message_t ... unfortunately that turned out not to be the case as Russel King pointed out. Here are fixes for Documentation and common code (mainly system devices). Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
74ad74c158
commit
438510f6f0
@@ -20,6 +20,7 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/pm.h>
|
||||
|
||||
|
||||
extern struct subsystem devices_subsys;
|
||||
@@ -302,7 +303,7 @@ void sysdev_shutdown(void)
|
||||
* all synchronization.
|
||||
*/
|
||||
|
||||
int sysdev_suspend(u32 state)
|
||||
int sysdev_suspend(pm_message_t state)
|
||||
{
|
||||
struct sysdev_class * cls;
|
||||
|
||||
|
Reference in New Issue
Block a user