]> git.karo-electronics.de Git - linux-beck.git/commitdiff
unicore32: use the new LED disk activity trigger
authorStephan Linz <linz@li-pro.net>
Fri, 10 Jun 2016 06:00:02 +0000 (08:00 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 27 Jun 2016 06:58:42 +0000 (08:58 +0200)
- platform: rename 'ide-disk' to 'disk-activity'
- defconfig: rename 'LEDS_TRIGGER_IDE_DISK' to 'LEDS_TRIGGER_DISK'

Signed-off-by: Stephan Linz <linz@li-pro.net>
Acked-by: GUAN Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
arch/unicore32/configs/unicore32_defconfig
arch/unicore32/kernel/gpio.c

index 45f47f88d86a8e0ad2ac210420337c73bc53f34d..aebd01fc28e59a3b5c530c8a596a4fcccd3e15df 100644 (file)
@@ -161,7 +161,7 @@ CONFIG_LEDS_GPIO=y
 #      LED Triggers
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_TIMER=y
-CONFIG_LEDS_TRIGGER_IDE_DISK=y
+CONFIG_LEDS_TRIGGER_DISK=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
 
 #      Real Time Clock
index 49347a0e92881965d043576f49b09c3206e2a187..bf164bb4dba2776ccc4ca771e263b8e89a1360e8 100644 (file)
@@ -27,7 +27,7 @@ static const struct gpio_led puv3_gpio_leds[] = {
        { .name = "cpuhealth", .gpio = GPO_CPU_HEALTH, .active_low = 0,
                .default_trigger = "heartbeat", },
        { .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 = {