diff options
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 00f89fd6c52a..0201f6f51cea 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -38,6 +38,11 @@ struct led_classdev { | |||
38 | void (*brightness_set)(struct led_classdev *led_cdev, | 38 | void (*brightness_set)(struct led_classdev *led_cdev, |
39 | enum led_brightness brightness); | 39 | enum led_brightness brightness); |
40 | 40 | ||
41 | /* Activate hardware accelerated blink */ | ||
42 | int (*blink_set)(struct led_classdev *led_cdev, | ||
43 | unsigned long *delay_on, | ||
44 | unsigned long *delay_off); | ||
45 | |||
41 | struct device *dev; | 46 | struct device *dev; |
42 | struct list_head node; /* LED Device list */ | 47 | struct list_head node; /* LED Device list */ |
43 | char *default_trigger; /* Trigger to use */ | 48 | char *default_trigger; /* Trigger to use */ |