]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: N8x0: Add retu-headset platform data
authorJarkko Nikula <jarkko.nikula@nokia.com>
Wed, 25 Mar 2009 10:26:20 +0000 (10:26 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 25 Mar 2009 22:28:20 +0000 (15:28 -0700)
This was earlier in board-n800-audio.c but got removed by the commit
c65c733e1af5eac5681233309fed38538c9e06d2.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800.c

index 60a414cae71f6a447ea3f53f4aa5794dc529867b..b90d153b02f26bd6d98cbcbaf906f36b659c3885 100644 (file)
@@ -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