drivers/video/backlight/jornada720_*.c: make needlessly global symbols static
authorAxel Lin <axel.lin@gmail.com>
Tue, 22 Mar 2011 23:30:30 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:00 +0000 (17:44 -0700)
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>
drivers/video/backlight/jornada720_bl.c
drivers/video/backlight/jornada720_lcd.c

index 40e4fa8fcf921043270d1e419f30db434177d9ec..de65d80159beed3b90b21313070538b42c3ee4aa 100644 (file)
@@ -147,12 +147,12 @@ static struct platform_driver jornada_bl_driver = {
        },
 };
 
-int __init jornada_bl_init(void)
+static int __init jornada_bl_init(void)
 {
        return platform_driver_register(&jornada_bl_driver);
 }
 
-void __exit jornada_bl_exit(void)
+static void __exit jornada_bl_exit(void)
 {
        platform_driver_unregister(&jornada_bl_driver);
 }
index cbbb167fd268fd4bc4751b181037f2c5de62144c..d2ff658b4144f91cf6d10a6e04f5178822db26f8 100644 (file)
@@ -135,12 +135,12 @@ static struct platform_driver jornada_lcd_driver = {
        },
 };
 
-int __init jornada_lcd_init(void)
+static int __init jornada_lcd_init(void)
 {
        return platform_driver_register(&jornada_lcd_driver);
 }
 
-void __exit jornada_lcd_exit(void)
+static void __exit jornada_lcd_exit(void)
 {
        platform_driver_unregister(&jornada_lcd_driver);
 }