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>
This commit is contained in:
Родитель
b372412e15
Коммит
0508e04e05
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче