Commit:     58dc3232ff77158460f79e3c1932b81e8a2a0194
Parent:     ec5a42465abc585a7f8117be5eecc361490e48ce
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 20 11:27:04 2008 +1100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Feb 21 15:27:08 2008 -0800

    POWERPC: fix typo in pseries/power.c
    Introduced by commit 79393fc46ede43451a500a132e5de9856f5a4c83 ("kobject:
    convert pseries/power.c to kobj_attr interface").
    sys_create_file takes a "struct attrbute *" not a "struct kobj_addribute *".
    arch/powerpc/platforms/pseries/power.c: In function 'apo_pm_init':
    arch/powerpc/platforms/pseries/power.c:78: warning: passing argument 2 of 
'sysfs_create_file' from incompatible pointer type
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 arch/powerpc/platforms/pseries/power.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/power.c 
index e95fc15..6d62662 100644
--- a/arch/powerpc/platforms/pseries/power.c
+++ b/arch/powerpc/platforms/pseries/power.c
@@ -75,7 +75,7 @@ core_initcall(pm_init);
 static int __init apo_pm_init(void)
-       return (sysfs_create_file(power_kobj, &auto_poweron_attr));
+       return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr));
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to