aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r--kernel/power/disk.c2
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
715static int __init pm_disk_init(void) 715static 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
720core_initcall(pm_disk_init); 720core_initcall(pm_disk_init);