]> err.no Git - linux-2.6/commit
POWERPC: fix typo in pseries/power.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2008 00:27:04 +0000 (11:27 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:08 +0000 (15:27 -0800)
commit58dc3232ff77158460f79e3c1932b81e8a2a0194
tree03774576ba6c6b6146bd1e0437cca35a1583a2e8
parentec5a42465abc585a7f8117be5eecc361490e48ce
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 <sfr@canb.auug.org.au>
Cc: Paul Mackerras <paulus@au.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/power.c