Commit b7408aff authored by Richard Purdie's avatar Richard Purdie Committed by Russell King

[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: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 96ce2385
...@@ -45,11 +45,13 @@ static void locomoled_brightness_set1(struct led_classdev *led_cdev, ...@@ -45,11 +45,13 @@ static void locomoled_brightness_set1(struct led_classdev *led_cdev,
static struct led_classdev locomo_led0 = { static struct led_classdev locomo_led0 = {
.name = "locomo:amber", .name = "locomo:amber",
.default_trigger = "sharpsl-charge",
.brightness_set = locomoled_brightness_set0, .brightness_set = locomoled_brightness_set0,
}; };
static struct led_classdev locomo_led1 = { static struct led_classdev locomo_led1 = {
.name = "locomo:green", .name = "locomo:green",
.default_trigger = "nand-disk",
.brightness_set = locomoled_brightness_set1, .brightness_set = locomoled_brightness_set1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment