[ARM] tegra: stingray: Add Home key LED to board files
authorDan Murphy <wldm10@motorola.com>
Thu, 27 May 2010 18:43:06 +0000 (13:43 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:00 +0000 (16:33 -0700)
Change-Id: I0beb327530618196c613a1c1aaa4ae085885336e
Signed-off-by: Dan Murphy <wldm10@motorola.com>
arch/arm/mach-tegra/board-stingray-spi.c

index 1cf7e68b4fa6256ee4ba0fa8c089f3148f15510c..65800a6fefcabfdbdde4127354fe4334596f5a5b 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/kernel.h>
+#include <linux/leds-ld-cpcap.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/reboot.h>
@@ -205,10 +206,18 @@ static struct platform_device cpcap_whisper_device = {
                .platform_data  = &whisper_pdata,
        },
 };
+static struct platform_device cpcap_disp_button_led = {
+       .name   = LD_DISP_BUTTON_DEV,
+       .id     = -1,
+       .dev    = {
+               .platform_data  = NULL,
+       },
+};
 
 static struct platform_device *cpcap_devices[] = {
        &cpcap_validity_device,
        &cpcap_whisper_device,
+       &cpcap_disp_button_led,
        &cpcap_3mm5_device,
 };