diff options
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 059abfe219dc..dc1178f6184b 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/spinlock.h> | 16 | #include <linux/spinlock.h> |
17 | 17 | ||
18 | struct device; | 18 | struct device; |
19 | struct class_device; | ||
20 | /* | 19 | /* |
21 | * LED Core | 20 | * LED Core |
22 | */ | 21 | */ |
@@ -38,7 +37,7 @@ struct led_classdev { | |||
38 | void (*brightness_set)(struct led_classdev *led_cdev, | 37 | void (*brightness_set)(struct led_classdev *led_cdev, |
39 | enum led_brightness brightness); | 38 | enum led_brightness brightness); |
40 | 39 | ||
41 | struct class_device *class_dev; | 40 | struct device *dev; |
42 | struct list_head node; /* LED Device list */ | 41 | struct list_head node; /* LED Device list */ |
43 | char *default_trigger; /* Trigger to use */ | 42 | char *default_trigger; /* Trigger to use */ |
44 | 43 | ||