From: Carlos Aguiar <carlos.aguiar@indt.org.br>
To: linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>
Subject: [PATCH 1/1] ARM: OMAP2: mach-omap2/pm.c build fix
Date: Wed, 19 Mar 2008 09:29:26 -0400 [thread overview]
Message-ID: <47E11536.6000803@indt.org.br> (raw)
From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
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@indt.org.br>
---
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);
-- 1.5.3.GIT
next reply other threads:[~2008-03-19 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 13:29 Carlos Aguiar [this message]
2008-03-20 12:54 ` [PATCH 1/1] ARM: OMAP2: mach-omap2/pm.c build fix Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47E11536.6000803@indt.org.br \
--to=carlos.aguiar@indt.org.br \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox