qubes-linux-kernel/patches.suse/led_classdev.sysfs-name.patch
2010-07-07 13:12:45 +02:00

23 lines
539 B
Diff

Subject: use correct name for /sys/devices/virtual/leds/ entries
From: olh@suse.de
References: 468350
Patch-mainline: not yet
the low hanging fruits
---
drivers/leds/ledtrig-default-on.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/leds/ledtrig-default-on.c
+++ b/drivers/leds/ledtrig-default-on.c
@@ -23,7 +23,7 @@ static void defon_trig_activate(struct l
}
static struct led_trigger defon_led_trigger = {
- .name = "default-on",
+ .name = "default::on",
.activate = defon_trig_activate,
};