From: Jarkko Nikula Date: Wed, 25 Mar 2009 10:26:20 +0000 (+0000) Subject: ARM: OMAP: N8x0: Add retu-headset platform data X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=bfed43659b0ffedf70d3dd41fc5658750f73890a;p=linux-2.6-omap-h63xx.git ARM: OMAP: N8x0: Add retu-headset platform data This was earlier in board-n800-audio.c but got removed by the commit c65c733e1af5eac5681233309fed38538c9e06d2. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c index 60a414cae71..b90d153b02f 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