aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/stifb.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 19:46:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 12:00:12 -0700
commit6ca813c4e515d9b868cd71703ef15f4af3aebb21 (patch)
treef52630d2fe052e24ca34cc91dce2e691eac7a5ee /drivers/video/stifb.c
parentvideo/console/stico{n,re}.c: make code static (diff)
downloadlinux-dev-6ca813c4e515d9b868cd71703ef15f4af3aebb21.tar.xz
linux-dev-6ca813c4e515d9b868cd71703ef15f4af3aebb21.zip
video/stifb.c: make 2 functions static
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>
Diffstat (limited to '')
-rw-r--r--drivers/video/stifb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/stifb.c b/drivers/video/stifb.c
index 598d35eff935..166481402412 100644
--- a/drivers/video/stifb.c
+++ b/drivers/video/stifb.c
@@ -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;
@@ -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;