From: Adrian Bunk pm3fb_init() needlessly became global. Signed-off-by: Adrian Bunk Cc: Krzysztof Helt Cc: Antonino Daplas Signed-off-by: Andrew Morton --- drivers/video/pm3fb.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/video/pm3fb.c~pm3fb-mtrr-support-and-noaccel-option-make-pm3fb_init-static-again drivers/video/pm3fb.c --- a/drivers/video/pm3fb.c~pm3fb-mtrr-support-and-noaccel-option-make-pm3fb_init-static-again +++ a/drivers/video/pm3fb.c @@ -798,8 +798,6 @@ static void pm3fb_write_mode(struct fb_i /* * 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 *opti } #endif /* MODULE */ -int __init pm3fb_init(void) +static int __init pm3fb_init(void) { /* * For kernel boot options (in 'video=pm3fb:' format) _