leds: Fix LED names

This is needed to get kde-powersave to work properly on some g4
powerbooks.

From: Olaf Hering <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
This commit is contained in:
Olaf Hering 2009-09-07 14:37:27 +01:00 • committed by Richard Purdie
commit db3f520738
3 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ static void qube_front_led_set(struct led_classdev *led_cdev,
}
static struct led_classdev qube_front_led = {
.name = "qube-front",
.name = "qube::front",
.brightness = LED_FULL,
.brightness_set = qube_front_led_set,
.default_trigger = "ide-disk",

View file

@ -49,7 +49,7 @@ static void raq_web_led_set(struct led_classdev *led_cdev,
}
static struct led_classdev raq_web_led = {
.name = "raq-web",
.name = "raq::web",
.brightness_set = raq_web_led_set,
};
@ -70,7 +70,7 @@ static void raq_power_off_led_set(struct led_classdev *led_cdev,
}
static struct led_classdev raq_power_off_led = {
.name = "raq-power-off",
.name = "raq::power-off",
.brightness_set = raq_power_off_led_set,
.default_trigger = "power-off",
};