summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-locomo.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-06-19 13:08:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-19 13:08:39 +0100
commitb7408aff2d325581dcafffa5dbcc09c42ae64b5d (patch)
treed3f0c225b68108626853b1b40e4af49bd5be080c /drivers/leds/leds-locomo.c
parent96ce2385dd2817da549910001a69ac0a2762a1b9 (diff)
downloadlinux-b7408aff2d325581dcafffa5dbcc09c42ae64b5d.tar.bz2
[ARM] 3563/1: LED: Set the LOCOMO LED driver default triggers
Patch from Richard Purdie Set the default triggers for the LOCOMO LED driver. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/leds/leds-locomo.c')
-rw-r--r--drivers/leds/leds-locomo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/leds-locomo.c b/drivers/leds/leds-locomo.c
index 749a86c2adb6..8419e29b71f4 100644
--- a/drivers/leds/leds-locomo.c
+++ b/drivers/leds/leds-locomo.c
@@ -45,11 +45,13 @@ static void locomoled_brightness_set1(struct led_classdev *led_cdev,
static struct led_classdev locomo_led0 = {
.name = "locomo:amber",
+ .default_trigger = "sharpsl-charge",
.brightness_set = locomoled_brightness_set0,
};
static struct led_classdev locomo_led1 = {
.name = "locomo:green",
+ .default_trigger = "nand-disk",
.brightness_set = locomoled_brightness_set1,
};