public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@nokia.com>
To: linux-omap@vger.kernel.org
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Subject: [PATCH 1/2] ARM: OMAP: N8x0: Add retu-headset platform data
Date: Wed, 25 Mar 2009 12:26:20 +0200	[thread overview]
Message-ID: <1237976781-3252-1-git-send-email-jarkko.nikula@nokia.com> (raw)

This was earlier in board-n800-audio.c but got removed by the commit
c65c733e1af5eac5681233309fed38538c9e06d2.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
---
 arch/arm/mach-omap2/board-n800.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c
index 60a414c..b90d153 100644
--- a/arch/arm/mach-omap2/board-n800.c
+++ b/arch/arm/mach-omap2/board-n800.c
@@ -568,10 +568,20 @@ static struct omap_gpio_switch n800_gpio_switches[] __initdata = {
 	},
 };
 
+#if defined(CONFIG_CBUS_RETU_HEADSET)
+static struct platform_device retu_headset_device = {
+	.name	= "retu-headset",
+	.id	= -1,
+};
+#endif
+
 static struct platform_device *n800_devices[] __initdata = {
 #if defined(CONFIG_CBUS_RETU) && defined(CONFIG_LEDS_OMAP_PWM)
 	&n800_keypad_led_device,
 #endif
+#if defined(CONFIG_CBUS_RETU_HEADSET)
+	&retu_headset_device,
+#endif
 };
 
 #ifdef CONFIG_MENELAUS
-- 
1.6.2


             reply	other threads:[~2009-03-25 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 10:26 Jarkko Nikula [this message]
2009-03-25 10:26 ` [PATCH 2/2] ARM: OMAP: N8x0: Remove board-n800-audio.c Jarkko Nikula
2009-03-25 22:28   ` [APPLIED] " Tony Lindgren
2009-03-25 22:28 ` [APPLIED] [PATCH 1/2] ARM: OMAP: N8x0: Add retu-headset platform data 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=1237976781-3252-1-git-send-email-jarkko.nikula@nokia.com \
    --to=jarkko.nikula@nokia.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