summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/68328fb.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2022-07-11 17:41:11 +0200
committerHelge Deller <deller@gmx.de>2022-07-18 07:54:20 +0200
commit6a7d270e901965b0f8643db885cdc2e6e93b8621 (patch)
treede662bd513bee33fe9648db05371d8a29972680d /drivers/video/fbdev/68328fb.c
parentvideo: fbdev: cirrusfb: Make cirrusfb_zorro_unregister() static (diff)
downloadlinux-6a7d270e901965b0f8643db885cdc2e6e93b8621.tar.xz
linux-6a7d270e901965b0f8643db885cdc2e6e93b8621.zip
video: fbdev: Make *fb_setup() and *fb_init() static
The various *fb_setup() and *fb_init() functions are only used locally, so they should be static. Most of them do not need forward declarations, so remove these where appropriate. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/68328fb.c')
-rw-r--r--drivers/video/fbdev/68328fb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c
index 9811f1bad8d4..7db03ed77c76 100644
--- a/drivers/video/fbdev/68328fb.c
+++ b/drivers/video/fbdev/68328fb.c
@@ -84,9 +84,6 @@ static const struct fb_fix_screeninfo mc68x328fb_fix __initconst = {
/*
* Interface used by the world
*/
-int mc68x328fb_init(void);
-int mc68x328fb_setup(char *);
-
static int mc68x328fb_check_var(struct fb_var_screeninfo *var,
struct fb_info *info);
static int mc68x328fb_set_par(struct fb_info *info);
@@ -403,7 +400,7 @@ static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
#endif
}
-int __init mc68x328fb_setup(char *options)
+static int __init mc68x328fb_setup(char *options)
{
if (!options || !*options)
return 1;
@@ -414,7 +411,7 @@ int __init mc68x328fb_setup(char *options)
* Initialisation
*/
-int __init mc68x328fb_init(void)
+static int __init mc68x328fb_init(void)
{
#ifndef MODULE
char *option = NULL;