Skip to content

Commit

Permalink
drivers/video/backlight/jornada720_*.c: make needlessly global symbol…
Browse files Browse the repository at this point in the history
…s 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 <[email protected]>
Acked-by: Kristoffer Ericson <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AxelLin authored and torvalds committed Mar 23, 2011
1 parent b372412 commit 0508e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/video/backlight/jornada720_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/backlight/jornada720_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0508e04

Please sign in to comment.