lkml.org 
[lkml]   [2007]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] make pm3fb_init() static again
On Tue, Jul 31, 2007 at 11:09:32PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc1-mm1:
>...
> +pm3fb-mtrr-support-and-noaccel-option.patch
>...
> fbdev updates
>...

pm3fb_init() needlessly became global.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

drivers/video/pm3fb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

9d0fd36d6429c19ac4377c19172d021b3aaa52e8
diff --git a/drivers/video/pm3fb.c b/drivers/video/pm3fb.c
index 3f004e8..195bcdb 100644
--- a/drivers/video/pm3fb.c
+++ b/drivers/video/pm3fb.c
@@ -798,8 +798,6 @@ static void pm3fb_write_mode(struct fb_info *info)
/*
* hardware independent functions
*/
-int pm3fb_init(void);
-
static int pm3fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
{
u32 lpitch;
@@ -1419,7 +1417,7 @@ static int __init pm3fb_setup(char *options)
}
#endif /* MODULE */

-int __init pm3fb_init(void)
+static int __init pm3fb_init(void)
{
/*
* For kernel boot options (in 'video=pm3fb:<options>' format)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-14 23:27    [W:0.535 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site