* Carlos Aguiar <carlos.aguiar@xxxxxxxxxxx> [080319 15:34]: > From: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx> > > This patch fix the following build problem: > > CC arch/arm/mach-omap2/pm.o > arch/arm/mach-omap2/pm.c: In function 'omap2_pm_init': > arch/arm/mach-omap2/pm.c:840: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type > > Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx> > --- > arch/arm/mach-omap2/pm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c > index 3a455e8..fb77e33 100644 > --- a/arch/arm/mach-omap2/pm.c > +++ b/arch/arm/mach-omap2/pm.c > @@ -837,7 +837,7 @@ int __init omap2_pm_init(void) > suspend_set_ops(&omap_pm_ops); > pm_idle = omap2_pm_idle; > > - 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); Pushing today. 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