aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-29 19:17:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:14 -0400
commitee69c8a9470e373dfdbbe8d53b72001cf10b0923 (patch)
tree1caa94b6e5722ac72c3cecf8cfa8c45bf3fd5bec /drivers/video
parent6ea0b2fb1b9033ec978154ee979c82ad8b966323 (diff)
drivers/video/backlight/atmel-pwm-bl.c: add __init annotation
When platform_driver_probe() is used, bind/unbind via sysfs is disabled. Thus, __init/__exit annotations can be added to probe()/remove(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/atmel-pwm-bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/atmel-pwm-bl.c b/drivers/video/backlight/atmel-pwm-bl.c
index 20b330dfbaab..a60d6afca97c 100644
--- a/drivers/video/backlight/atmel-pwm-bl.c
+++ b/drivers/video/backlight/atmel-pwm-bl.c
@@ -118,7 +118,7 @@ static const struct backlight_ops atmel_pwm_bl_ops = {
118 .update_status = atmel_pwm_bl_set_intensity, 118 .update_status = atmel_pwm_bl_set_intensity,
119}; 119};
120 120
121static int atmel_pwm_bl_probe(struct platform_device *pdev) 121static int __init atmel_pwm_bl_probe(struct platform_device *pdev)
122{ 122{
123 struct backlight_properties props; 123 struct backlight_properties props;
124 const struct atmel_pwm_bl_platform_data *pdata; 124 const struct atmel_pwm_bl_platform_data *pdata;