diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/sys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c index cff5a6a2c784..9102e3756f95 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <linux/pm.h> | ||
23 | 24 | ||
24 | 25 | ||
25 | extern struct subsystem devices_subsys; | 26 | extern struct subsystem devices_subsys; |
@@ -302,7 +303,7 @@ void sysdev_shutdown(void) | |||
302 | * all synchronization. | 303 | * all synchronization. |
303 | */ | 304 | */ |
304 | 305 | ||
305 | int sysdev_suspend(u32 state) | 306 | int sysdev_suspend(pm_message_t state) |
306 | { | 307 | { |
307 | struct sysdev_class * cls; | 308 | struct sysdev_class * cls; |
308 | 309 | ||