diff options
author | David Brownell <david-b@pacbell.net> | 2008-02-24 19:08:26 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-03-05 10:23:20 +0200 |
commit | 02bad5f9bc9f1f42d4bb87bb8bf741d4cefe87d6 (patch) | |
tree | befce2e71ecb0cecf583d8d028fe8f9dc1838186 /arch | |
parent | 9221bb1c3a0d5e14df2cca43e22f983676795652 (diff) |
ARM: OMAP1: omap1/pm.c build fix
Build fix:
arch/arm/mach-omap1/pm.c: In function 'omap_pm_init':
arch/arm/mach-omap1/pm.c:720: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 8eb5dcdaead2..e6c64e10b7ec 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c @@ -717,7 +717,7 @@ static int __init omap_pm_init(void) #endif #ifdef CONFIG_OMAP_32K_TIMER - error = sysfs_create_file(power_kobj, &sleep_while_idle_attr); + error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr); if (error) printk(KERN_ERR "sysfs_create_file failed: %d\n", error); #endif |