]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-h4.c
ARM: OMAP: h4 must have blinky leds!!
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-h4.c
index 1e7ed6d22ca98efc6614ff56071d91ac4679af6f..452193f0153182f5407ce36f99fba726cc4ca037 100644 (file)
@@ -266,12 +266,26 @@ static struct platform_device h4_lcd_device = {
        .id             = -1,
 };
 
+static struct resource h4_led_resources[] = {
+       [0] = {
+               .flags  = IORESOURCE_MEM,
+       },
+};
+
+static struct platform_device h4_led_device = {
+       .name           = "omap_dbg_led",
+       .id             = -1,
+       .num_resources  = ARRAY_SIZE(h4_led_resources),
+       .resource       = h4_led_resources,
+};
+
 static struct platform_device *h4_devices[] __initdata = {
        &h4_smc91x_device,
        &h4_flash_device,
        &h4_irda_device,
        &h4_kp_device,
        &h4_lcd_device,
+       &h4_led_device,
 };
 
 static inline void __init h4_init_smc91x(void)