diff options
-rw-r--r-- | arch/powerpc/platforms/pseries/power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/power.c b/arch/powerpc/platforms/pseries/power.c index e95fc1594c84..6d6266236446 100644 --- a/arch/powerpc/platforms/pseries/power.c +++ b/arch/powerpc/platforms/pseries/power.c | |||
@@ -75,7 +75,7 @@ core_initcall(pm_init); | |||
75 | #else | 75 | #else |
76 | static int __init apo_pm_init(void) | 76 | static int __init apo_pm_init(void) |
77 | { | 77 | { |
78 | return (sysfs_create_file(power_kobj, &auto_poweron_attr)); | 78 | return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr)); |
79 | } | 79 | } |
80 | __initcall(apo_pm_init); | 80 | __initcall(apo_pm_init); |
81 | #endif | 81 | #endif |