]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/leds.h
Fix remap handling by blktrace
[linux-2.6-omap-h63xx.git] / include / linux / leds.h
index 059abfe219dc1dacbb40e463a022e75045531507..421175092ee2495eca787af009dc20f834b6a9f6 100644 (file)
 #define __LINUX_LEDS_H_INCLUDED
 
 #include <linux/list.h>
-#include <linux/spinlock.h>
 
 struct device;
-struct class_device;
 /*
  * LED Core
  */
@@ -38,7 +36,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 */