Subject: patch powerpc-fix-typo-in-pseries-power.c.patch added to gregkh-2.6 tree

From: <[email-masked]>
Date: Wed, 20 Feb 2008 13:57:27 -0800

This is a note to let you know that I've just added the patch titled

     Subject: POWERPC: fix typo in pseries/power.c

to my gregkh-2.6 tree.  Its filename is

     powerpc-fix-typo-in-pseries-power.c.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

>>From [email-masked]  Wed Feb 20 12:57:53 2008
From: Stephen Rothwell <[email-masked]>
Date: Wed, 20 Feb 2008 11:27:04 +1100
Subject: POWERPC: fix typo in pseries/power.c
To: [email-masked]
Cc: ppc-dev <[email-masked]>, Greg KH <[email-masked]>
Message-ID: <[email-masked]>

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-masked]>
Cc: Paul Mackerras <[email-masked]>
Signed-off-by: Greg Kroah-Hartman <[email-masked]>

---
 arch/powerpc/platforms/pseries/power.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/platforms/pseries/power.c
+++ b/arch/powerpc/platforms/pseries/power.c
@@ -75,7 +75,7 @@ core_initcall(pm_init);
 #else
 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));
 }
 __initcall(apo_pm_init);
 #endif

Patches currently in gregkh-2.6 which might be from [email-masked] are

bad/battery-class-driver.patch
driver/powerpc-fix-typo-in-pseries-power.c.patch