]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix warning in pseries/power.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2008 00:27:04 +0000 (11:27 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Feb 2008 02:33:37 +0000 (13:33 +1100)
commit3d5d27c40fb38a51eae96a55f51b5a306ed3668d
tree11d28c833253cb3aebcf6382aa824d10a4929001
parentbf2e70ac654060bcb2a06bbcb62701ba2451d79d
[POWERPC] Fix warning 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 <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/power.c