In preparation for adding LED block device activity trigger, expose led_stop_software_blink() to outside the leds subsystem. Cc: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx> Cc: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx> Cc: Pavel Machek <pavel@xxxxxx> Cc: Dan Murphy <dmurphy@xxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> --- drivers/leds/leds.h | 1 - include/linux/leds.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/leds/leds.h b/drivers/leds/leds.h index 47b2294..64fe774 100644 --- a/drivers/leds/leds.h +++ b/drivers/leds/leds.h @@ -18,7 +18,6 @@ static inline int led_get_brightness(struct led_classdev *led_cdev) } void led_init_core(struct led_classdev *led_cdev); -void led_stop_software_blink(struct led_classdev *led_cdev); void led_set_brightness_nopm(struct led_classdev *led_cdev, enum led_brightness value); void led_set_brightness_nosleep(struct led_classdev *led_cdev, diff --git a/include/linux/leds.h b/include/linux/leds.h index 9b2bf57..6aeda4f 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -189,6 +189,8 @@ extern void led_blink_set_oneshot(struct led_classdev *led_cdev, extern void led_set_brightness(struct led_classdev *led_cdev, enum led_brightness brightness); +extern void led_stop_software_blink(struct led_classdev *led_cdev); + /** * led_set_brightness_sync - set LED brightness synchronously * @led_cdev: the LED to set -- 2.7.4