diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 63edafb59490..d9805e3d9304 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -719,7 +719,7 @@ static int __init omap_pm_init(void) | |||
719 | omap_pm_init_proc(); | 719 | omap_pm_init_proc(); |
720 | #endif | 720 | #endif |
721 | 721 | ||
722 | error = sysfs_create_file(&power_kset->kobj, &sleep_while_idle_attr); | 722 | error = sysfs_create_file(power_kobj, &sleep_while_idle_attr); |
723 | if (error) | 723 | if (error) |
724 | printk(KERN_ERR "sysfs_create_file failed: %d\n", error); | 724 | printk(KERN_ERR "sysfs_create_file failed: %d\n", error); |
725 | 725 | ||