[-mm patch] make pm3fb_init() static again

From: Adrian Bunk
Date: Tue Aug 14 2007 - 17:22:49 EST


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@xxxxxxxxxx>

---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/