linux-mips
[Top] [All Lists]

[PATCH] leds: use default-on trigger for Cobalt Qube

To: Richard Purdie <rpurdie@rpsys.net>
Subject: [PATCH] leds: use default-on trigger for Cobalt Qube
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 26 Nov 2009 19:41:02 +0100
Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Martin Michlmayr <tbm@cyrius.com>, Sameer Verma <sverma@sfsu.edu>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:organization:to:cc:content-type :content-transfer-encoding:message-id; bh=AWBNh2C8wBlxBuWhPvxEweGOTMO43BCtdW1i51rl7XU=; b=Jy7ofrHTiFFDDb9ve2E6eFzZx7jCJTg1pYnalQb/FcTV9pGWrMHAw+HmnAS//lAAxE AiEf5D6QiZZW1R9o5+1xYfEDtCCMbhffRZQX/tWI3OOjALneQ28mpuk0SWluP6SPy3fR V/wRwDqFyQgCe0BYUBJFG2abgLhtydnp7QTeo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:organization :to:cc:content-type:content-transfer-encoding:message-id; b=fZuuwZnFfj/2wnVVAQsV3Y39Bd3A6PdLBH9+f52wDevIFhH6p1hPN15qXJbCNCqo7u VZCzLoFt8eBCKnpaea0mTcgu4hmoZIQ7TzTRklmnj4RzNOt2MCfhVBlnllYnM0Jbj39F jNVG/WECKhJ/St6M5jk2pdZbO+p9t52qH8mz0=
Organization: OpenWrt
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This patch changes the default trigger from "ide-disk"
to "default-on". Users updating from kernels not having this
LED driver will prefer having the same LED behavior as they
used to.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c
index 8816806..81b2014 100644
--- a/drivers/leds/leds-cobalt-qube.c
+++ b/drivers/leds/leds-cobalt-qube.c
@@ -31,7 +31,7 @@ static struct led_classdev qube_front_led = {
        .name                   = "qube::front",
        .brightness             = LED_FULL,
        .brightness_set         = qube_front_led_set,
-       .default_trigger        = "ide-disk",
+       .default_trigger        = "default-on",
 };
 
 static int __devinit cobalt_qube_led_probe(struct platform_device *pdev)

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] leds: use default-on trigger for Cobalt Qube, Florian Fainelli <=