aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-locomo.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-06-19 08:08:39 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-19 08:08:39 -0400
commitb7408aff2d325581dcafffa5dbcc09c42ae64b5d (patch)
treed3f0c225b68108626853b1b40e4af49bd5be080c /drivers/leds/leds-locomo.c
parent96ce2385dd2817da549910001a69ac0a2762a1b9 (diff)
[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,
45 45
46static struct led_classdev locomo_led0 = { 46static struct led_classdev locomo_led0 = {
47 .name = "locomo:amber", 47 .name = "locomo:amber",
48 .default_trigger = "sharpsl-charge",
48 .brightness_set = locomoled_brightness_set0, 49 .brightness_set = locomoled_brightness_set0,
49}; 50};
50 51
51static struct led_classdev locomo_led1 = { 52static struct led_classdev locomo_led1 = {
52 .name = "locomo:green", 53 .name = "locomo:green",
54 .default_trigger = "nand-disk",
53 .brightness_set = locomoled_brightness_set1, 55 .brightness_set = locomoled_brightness_set1,
54}; 56};
55 57