summaryrefslogtreecommitdiff
path: root/drivers/macintosh/via-pmu-led.c
diff options
context:
space:
mode:
authorStephan Linz <linz@li-pro.net>2016-06-10 07:59:58 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-06-27 08:58:40 +0200
commit83e2c70e84e2e0335deae63fa52bee14481fecbe (patch)
tree7998d5427b6882f407c9786c4aa9f47731d8523b /drivers/macintosh/via-pmu-led.c
parent86ab168614f7ddce0800456ab6da2cf40286a5b2 (diff)
powerpc: use the new LED disk activity trigger
- dts: rename 'ide-disk' to 'disk-activity' - defconfig: rename 'ADB_PMU_LED_IDE' to 'ADB_PMU_LED_DISK' Cc: Joseph Jezak <josejx@gentoo.org> Cc: Jörg Sommer <joerg@alea.gnuu.de> Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/macintosh/via-pmu-led.c')
-rw-r--r--drivers/macintosh/via-pmu-led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/via-pmu-led.c b/drivers/macintosh/via-pmu-led.c
index 19c371809d77..ae067ab2373d 100644
--- a/drivers/macintosh/via-pmu-led.c
+++ b/drivers/macintosh/via-pmu-led.c
@@ -73,8 +73,8 @@ static void pmu_led_set(struct led_classdev *led_cdev,
static struct led_classdev pmu_led = {
.name = "pmu-led::front",
-#ifdef CONFIG_ADB_PMU_LED_IDE
- .default_trigger = "ide-disk",
+#ifdef CONFIG_ADB_PMU_LED_DISK
+ .default_trigger = "disk-activity",
#endif
.brightness_set = pmu_led_set,
};