diff options
Diffstat (limited to 'kernel/power/main.c')
| -rw-r--r-- | kernel/power/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index 0a28d4db3597..f06ad6eff37a 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c | |||
| @@ -321,6 +321,7 @@ static int __init pm_init(void) | |||
| 321 | int error = pm_start_workqueue(); | 321 | int error = pm_start_workqueue(); |
| 322 | if (error) | 322 | if (error) |
| 323 | return error; | 323 | return error; |
| 324 | hibernate_image_size_init(); | ||
| 324 | power_kobj = kobject_create_and_add("power", NULL); | 325 | power_kobj = kobject_create_and_add("power", NULL); |
| 325 | if (!power_kobj) | 326 | if (!power_kobj) |
| 326 | return -ENOMEM; | 327 | return -ENOMEM; |
