提交 0508e04e 编写于 作者: A Axel Lin 提交者: 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: NAxel Lin <axel.lin@gmail.com>
Acked-by: NKristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册