Commit 6ca813c4 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

video/stifb.c: make 2 functions static

This patch makes the following needlessly global functions static:
 - stifb_init_fb()
 - stifb_init()
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3d1e412a
...@@ -1078,8 +1078,7 @@ static struct fb_ops stifb_ops = { ...@@ -1078,8 +1078,7 @@ static struct fb_ops stifb_ops = {
* Initialization * Initialization
*/ */
int __init static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
stifb_init_fb(struct sti_struct *sti, int bpp_pref)
{ {
struct fb_fix_screeninfo *fix; struct fb_fix_screeninfo *fix;
struct fb_var_screeninfo *var; struct fb_var_screeninfo *var;
...@@ -1315,8 +1314,7 @@ static int stifb_disabled __initdata; ...@@ -1315,8 +1314,7 @@ static int stifb_disabled __initdata;
int __init int __init
stifb_setup(char *options); stifb_setup(char *options);
int __init static int __init stifb_init(void)
stifb_init(void)
{ {
struct sti_struct *sti; struct sti_struct *sti;
struct sti_struct *def_sti; struct sti_struct *def_sti;
......
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