pandora: add backlight platform data
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 21 Jun 2010 21:43:25 +0000 (00:43 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Jun 2011 22:29:28 +0000 (01:29 +0300)
arch/arm/mach-omap2/board-omap3pandora.c

index f5ad324..f351d5f 100644 (file)
@@ -123,6 +123,11 @@ static struct platform_device pandora_leds_gpio = {
        },
 };
 
+static struct platform_device pandora_bl = {
+       .name   = "twl4030-pwm0-bl",
+       .id     = -1,
+};
+
 #define GPIO_BUTTON(gpio_num, ev_type, ev_code, act_low, descr)        \
 {                                                              \
        .gpio           = gpio_num,                             \
@@ -695,6 +700,7 @@ fail:
 
 static struct platform_device *omap3pandora_devices[] __initdata = {
        &pandora_leds_gpio,
+       &pandora_bl,
        &pandora_keys_gpio,
        &pandora_dss_device,
        &pandora_vwlan_device,