diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-22 19:30:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 20:44:00 -0400 |
commit | 0508e04e05cdf9b819210f5d5a12264e5eeff1f3 (patch) | |
tree | 94a9c7f5105755523c624416458060618f0276a3 /drivers | |
parent | b372412e159897c20ce2ad100f51c5d94ae98845 (diff) |
drivers/video/backlight/jornada720_*.c: make needlessly global symbols static
The following symbols are needlessly defined global: jornada_bl_init,
jornada_bl_exit, jornada_lcd_init, jornada_lcd_exit.
Make them static.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/backlight/jornada720_bl.c | 4 | ||||
-rw-r--r-- | drivers/video/backlight/jornada720_lcd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/backlight/jornada720_bl.c b/drivers/video/backlight/jornada720_bl.c index 40e4fa8fcf92..de65d80159be 100644 --- a/drivers/video/backlight/jornada720_bl.c +++ b/drivers/video/backlight/jornada720_bl.c | |||
@@ -147,12 +147,12 @@ static struct platform_driver jornada_bl_driver = { | |||
147 | }, | 147 | }, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | int __init jornada_bl_init(void) | 150 | static int __init jornada_bl_init(void) |
151 | { | 151 | { |
152 | return platform_driver_register(&jornada_bl_driver); | 152 | return platform_driver_register(&jornada_bl_driver); |
153 | } | 153 | } |
154 | 154 | ||
155 | void __exit jornada_bl_exit(void) | 155 | static void __exit jornada_bl_exit(void) |
156 | { | 156 | { |
157 | platform_driver_unregister(&jornada_bl_driver); | 157 | platform_driver_unregister(&jornada_bl_driver); |
158 | } | 158 | } |
diff --git a/drivers/video/backlight/jornada720_lcd.c b/drivers/video/backlight/jornada720_lcd.c index cbbb167fd268..d2ff658b4144 100644 --- a/drivers/video/backlight/jornada720_lcd.c +++ b/drivers/video/backlight/jornada720_lcd.c | |||
@@ -135,12 +135,12 @@ static struct platform_driver jornada_lcd_driver = { | |||
135 | }, | 135 | }, |
136 | }; | 136 | }; |
137 | 137 | ||
138 | int __init jornada_lcd_init(void) | 138 | static int __init jornada_lcd_init(void) |
139 | { | 139 | { |
140 | return platform_driver_register(&jornada_lcd_driver); | 140 | return platform_driver_register(&jornada_lcd_driver); |
141 | } | 141 | } |
142 | 142 | ||
143 | void __exit jornada_lcd_exit(void) | 143 | static void __exit jornada_lcd_exit(void) |
144 | { | 144 | { |
145 | platform_driver_unregister(&jornada_lcd_driver); | 145 | platform_driver_unregister(&jornada_lcd_driver); |
146 | } | 146 | } |