* David Brownell <david-b@xxxxxxxxxxx> [080224 19:08]: > 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@xxxxxxxxxxxxxxxxxxxxx> > --- > Applies against both 2.6.25-rc3 and current OMAP git. > > arch/arm/mach-omap1/pm.c | 2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > --- a/arch/arm/mach-omap1/pm.c 2008-02-24 18:50:32.000000000 -0800 > +++ b/arch/arm/mach-omap1/pm.c 2008-02-24 19:07:32.000000000 -0800 > @@ -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 Pushing today & adding to omap-fixes queue. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html