Skip to content

Commit

Permalink
leds: Fix LED names
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
olafhering authored and rpurdie committed Sep 7, 2009
1 parent 85c5204 commit db3f520
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/leds/leds-cobalt-qube.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions drivers/leds/leds-cobalt-raq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand All @@ -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",
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/macintosh/via-pmu-led.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static void pmu_led_set(struct led_classdev *led_cdev,
}

static struct led_classdev pmu_led = {
.name = "pmu-front-led",
.name = "pmu-led::front",
#ifdef CONFIG_ADB_PMU_LED_IDE
.default_trigger = "ide-disk",
#endif
Expand Down

0 comments on commit db3f520

Please sign in to comment.