Commit fed758f6 authored by Stephan Linz's avatar Stephan Linz Committed by Jacek Anaszewski

unicore32: use the new LED disk activity trigger

- platform: rename 'ide-disk' to 'disk-activity'
- defconfig: rename 'LEDS_TRIGGER_IDE_DISK' to 'LEDS_TRIGGER_DISK'
Signed-off-by: default avatarStephan Linz <linz@li-pro.net>
Acked-by: default avatarGUAN Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent f4572537
...@@ -161,7 +161,7 @@ CONFIG_LEDS_GPIO=y ...@@ -161,7 +161,7 @@ CONFIG_LEDS_GPIO=y
# LED Triggers # LED Triggers
CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_IDE_DISK=y CONFIG_LEDS_TRIGGER_DISK=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y
# Real Time Clock # Real Time Clock
......
...@@ -27,7 +27,7 @@ static const struct gpio_led puv3_gpio_leds[] = { ...@@ -27,7 +27,7 @@ static const struct gpio_led puv3_gpio_leds[] = {
{ .name = "cpuhealth", .gpio = GPO_CPU_HEALTH, .active_low = 0, { .name = "cpuhealth", .gpio = GPO_CPU_HEALTH, .active_low = 0,
.default_trigger = "heartbeat", }, .default_trigger = "heartbeat", },
{ .name = "hdd_led", .gpio = GPO_HDD_LED, .active_low = 1, { .name = "hdd_led", .gpio = GPO_HDD_LED, .active_low = 1,
.default_trigger = "ide-disk", }, .default_trigger = "disk-activity", },
}; };
static const struct gpio_led_platform_data puv3_gpio_led_data = { static const struct gpio_led_platform_data puv3_gpio_led_data = {
......
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