summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-core.c
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2015-09-28 15:07:10 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-01-04 09:57:30 +0100
commit2806e2ff489975eb40eb5b363a689716e78fd116 (patch)
tree5cb9c83ef3999e6339631ff347692c8edeb3690b /drivers/leds/led-core.c
parent168309855a7d1e16db751e9c647119fe2d2dc878 (diff)
downloadlinux-stable-2806e2ff489975eb40eb5b363a689716e78fd116.tar.gz
linux-stable-2806e2ff489975eb40eb5b363a689716e78fd116.tar.bz2
linux-stable-2806e2ff489975eb40eb5b363a689716e78fd116.zip
leds: core: Use EXPORT_SYMBOL_GPL consistently
LED core has a mixture of EXPORT_SYMBOL and EXPORT_SYMBOL_GPL macros. This patch fixes this discrepancy and switches to using EXPORT_SYMBOL_GPL for each exported function. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/led-core.c')
-rw-r--r--drivers/leds/led-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c
index c1c3af089634..ee9309e2ca82 100644
--- a/drivers/leds/led-core.c
+++ b/drivers/leds/led-core.c
@@ -156,7 +156,7 @@ void led_blink_set(struct led_classdev *led_cdev,
led_blink_setup(led_cdev, delay_on, delay_off);
}
-EXPORT_SYMBOL(led_blink_set);
+EXPORT_SYMBOL_GPL(led_blink_set);
void led_blink_set_oneshot(struct led_classdev *led_cdev,
unsigned long *delay_on,
@@ -177,7 +177,7 @@ void led_blink_set_oneshot(struct led_classdev *led_cdev,
led_blink_setup(led_cdev, delay_on, delay_off);
}
-EXPORT_SYMBOL(led_blink_set_oneshot);
+EXPORT_SYMBOL_GPL(led_blink_set_oneshot);
void led_stop_software_blink(struct led_classdev *led_cdev)
{
@@ -212,7 +212,7 @@ void led_set_brightness(struct led_classdev *led_cdev,
dev_dbg(led_cdev->dev, "Setting LED brightness failed (%d)\n",
ret);
}
-EXPORT_SYMBOL(led_set_brightness);
+EXPORT_SYMBOL_GPL(led_set_brightness);
int led_update_brightness(struct led_classdev *led_cdev)
{
@@ -228,7 +228,7 @@ int led_update_brightness(struct led_classdev *led_cdev)
return ret;
}
-EXPORT_SYMBOL(led_update_brightness);
+EXPORT_SYMBOL_GPL(led_update_brightness);
/* Caller must ensure led_cdev->led_access held */
void led_sysfs_disable(struct led_classdev *led_cdev)