projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI: ibm-acpi: add support for the ultrabay on the T60,X60
[powerpc.git]
/
drivers
/
leds
/
leds-locomo.c
diff --git
a/drivers/leds/leds-locomo.c
b/drivers/leds/leds-locomo.c
index
749a86c
..
6f2d449
100644
(file)
--- a/
drivers/leds/leds-locomo.c
+++ b/
drivers/leds/leds-locomo.c
@@
-1,5
+1,5
@@
/*
/*
- * linux/drivers/leds/locomo.c
+ * linux/drivers/leds/l
eds-l
ocomo.c
*
* Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu>
*
*
* Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu>
*
@@
-8,7
+8,6
@@
* published by the Free Software Foundation.
*/
* published by the Free Software Foundation.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
@@
-45,11
+44,13
@@
static void locomoled_brightness_set1(struct led_classdev *led_cdev,
static struct led_classdev locomo_led0 = {
.name = "locomo:amber",
static struct led_classdev locomo_led0 = {
.name = "locomo:amber",
+ .default_trigger = "sharpsl-charge",
.brightness_set = locomoled_brightness_set0,
};
static struct led_classdev locomo_led1 = {
.name = "locomo:green",
.brightness_set = locomoled_brightness_set0,
};
static struct led_classdev locomo_led1 = {
.name = "locomo:green",
+ .default_trigger = "nand-disk",
.brightness_set = locomoled_brightness_set1,
};
.brightness_set = locomoled_brightness_set1,
};