From: trickie@gmail.com
To: linux-omap@vger.kernel.org
Cc: Nick Loeve <trickie@gmail.com>
Subject: [PATCH] Fix n800 build - only register HW keyboard on i2c board if CONFIG_MACH_NOKIA_N810
Date: Fri, 2 May 2008 15:05:35 +0200 [thread overview]
Message-ID: <1209733535-31057-1-git-send-email-trickie@gmail.com> (raw)
lm8323_pdata is only present if CONFIG_MACH_NOKIA_N810
Signed-off-by: Nick Loeve <trickie@gmail.com>
---
arch/arm/mach-omap2/board-n800.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c
index 8b5956b..b62f2d5 100644
--- a/arch/arm/mach-omap2/board-n800.c
+++ b/arch/arm/mach-omap2/board-n800.c
@@ -654,12 +654,14 @@ static struct i2c_board_info __initdata n800_i2c_board_info_2[] = {
I2C_BOARD_INFO("tea5761", 0x10),
},
#endif
+#ifdef CONFIG_MACH_NOKIA_N810
{
I2C_BOARD_INFO("lm8323", 0x45),
.type = "lm8323",
.irq = OMAP_GPIO_IRQ(109),
.platform_data = &lm8323_pdata,
},
+#endif
{
I2C_BOARD_INFO("tsl2563", 0x29),
.type = "tsl2563",
--
1.5.5.1
next reply other threads:[~2008-05-02 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 13:05 trickie [this message]
2008-05-02 13:17 ` [PATCH] Fix n800 build - only register HW keyboard on i2c board if CONFIG_MACH_NOKIA_N810 Felipe Balbi
2008-05-02 13:24 ` nick loeve
2008-05-02 23:34 ` 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=1209733535-31057-1-git-send-email-trickie@gmail.com \
--to=trickie@gmail.com \
--cc=linux-omap@vger.kernel.org \
/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