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>
Sat, 14 Jan 2012 22:16:31 +0000 (00:16 +0200)
arch/arm/mach-omap2/board-omap3pandora.c

index 6d31326..a0f9688 100644 (file)
@@ -122,6 +122,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,                             \
@@ -583,6 +588,7 @@ fail:
 
 static struct platform_device *omap3pandora_devices[] __initdata = {
        &pandora_leds_gpio,
+       &pandora_bl,
        &pandora_keys_gpio,
        &pandora_vwlan_device,
 };