Skip to content

Commit

Permalink
video/stifb.c: make 2 functions static
Browse files Browse the repository at this point in the history
This patch makes the following needlessly global functions static:
 - stifb_init_fb()
 - stifb_init()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 26, 2008
1 parent 3d1e412 commit 6ca813c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/video/stifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,8 +1078,7 @@ static struct fb_ops stifb_ops = {
* Initialization
*/

int __init
stifb_init_fb(struct sti_struct *sti, int bpp_pref)
static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
{
struct fb_fix_screeninfo *fix;
struct fb_var_screeninfo *var;
Expand Down Expand Up @@ -1315,8 +1314,7 @@ static int stifb_disabled __initdata;
int __init
stifb_setup(char *options);

int __init
stifb_init(void)
static int __init stifb_init(void)
{
struct sti_struct *sti;
struct sti_struct *def_sti;
Expand Down

0 comments on commit 6ca813c

Please sign in to comment.