Commit 0508e04e authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds

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: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarKristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b372412e
...@@ -147,12 +147,12 @@ static struct platform_driver jornada_bl_driver = { ...@@ -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); 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); platform_driver_unregister(&jornada_bl_driver);
} }
......
...@@ -135,12 +135,12 @@ static struct platform_driver jornada_lcd_driver = { ...@@ -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); 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); platform_driver_unregister(&jornada_lcd_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment