diff options
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r-- | kernel/power/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index ef5aa2ca0ab0..b138b431e271 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c | |||
@@ -714,7 +714,7 @@ static struct attribute_group attr_group = { | |||
714 | 714 | ||
715 | static int __init pm_disk_init(void) | 715 | static int __init pm_disk_init(void) |
716 | { | 716 | { |
717 | return sysfs_create_group(&power_kset->kobj, &attr_group); | 717 | return sysfs_create_group(power_kobj, &attr_group); |
718 | } | 718 | } |
719 | 719 | ||
720 | core_initcall(pm_disk_init); | 720 | core_initcall(pm_disk_init); |