aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-07-08 23:19:31 +0100
committerRichard Purdie <rpurdie@rpsys.net>2007-07-16 01:15:51 +0100
commitf8a7c6fe14f556ca8eeddce258cb21392d0c3a2f (patch)
tree517e178330a46186e6bbd09ba60e453ce32ca485 /include/linux/leds.h
parentf9f451d9cac24b9bd49947d1c6971f3d689381fa (diff)
downloadkernel_samsung_aries-f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f.zip
kernel_samsung_aries-f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f.tar.gz
kernel_samsung_aries-f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f.tar.bz2
leds: Convert from struct class_device to struct device
Convert the LEDs class from struct class_device to struct device since class_device is scheduled for removal. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r--include/linux/leds.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index 059abfe..dc1178f 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -16,7 +16,6 @@
#include <linux/spinlock.h>
struct device;
-struct class_device;
/*
* LED Core
*/
@@ -38,7 +37,7 @@ struct led_classdev {
void (*brightness_set)(struct led_classdev *led_cdev,
enum led_brightness brightness);
- struct class_device *class_dev;
+ struct device *dev;
struct list_head node; /* LED Device list */
char *default_trigger; /* Trigger to use */