leds: Fix LED names
This is needed to get kde-powersave to work properly on some g4 powerbooks. From: Olaf Hering <olh@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Родитель
85c5204a67
Коммит
db3f520738
|
@ -28,7 +28,7 @@ static void qube_front_led_set(struct led_classdev *led_cdev,
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct led_classdev qube_front_led = {
|
static struct led_classdev qube_front_led = {
|
||||||
.name = "qube-front",
|
.name = "qube::front",
|
||||||
.brightness = LED_FULL,
|
.brightness = LED_FULL,
|
||||||
.brightness_set = qube_front_led_set,
|
.brightness_set = qube_front_led_set,
|
||||||
.default_trigger = "ide-disk",
|
.default_trigger = "ide-disk",
|
||||||
|
|
|
@ -49,7 +49,7 @@ static void raq_web_led_set(struct led_classdev *led_cdev,
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct led_classdev raq_web_led = {
|
static struct led_classdev raq_web_led = {
|
||||||
.name = "raq-web",
|
.name = "raq::web",
|
||||||
.brightness_set = raq_web_led_set,
|
.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 = {
|
static struct led_classdev raq_power_off_led = {
|
||||||
.name = "raq-power-off",
|
.name = "raq::power-off",
|
||||||
.brightness_set = raq_power_off_led_set,
|
.brightness_set = raq_power_off_led_set,
|
||||||
.default_trigger = "power-off",
|
.default_trigger = "power-off",
|
||||||
};
|
};
|
||||||
|
|
|
@ -72,7 +72,7 @@ static void pmu_led_set(struct led_classdev *led_cdev,
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct led_classdev pmu_led = {
|
static struct led_classdev pmu_led = {
|
||||||
.name = "pmu-front-led",
|
.name = "pmu-led::front",
|
||||||
#ifdef CONFIG_ADB_PMU_LED_IDE
|
#ifdef CONFIG_ADB_PMU_LED_IDE
|
||||||
.default_trigger = "ide-disk",
|
.default_trigger = "ide-disk",
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче