aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/atafb.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/atafb.c
parentvideo: fbdev: cirrusfb: Make cirrusfb_zorro_unregister() static (diff)
downloadlinux-dev-6a7d270e901965b0f8643db885cdc2e6e93b8621.tar.xz
linux-dev-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/atafb.c')
-rw-r--r--drivers/video/fbdev/atafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c
index 52a35b661643..102c727cedc0 100644
--- a/drivers/video/fbdev/atafb.c
+++ b/drivers/video/fbdev/atafb.c
@@ -2981,7 +2981,7 @@ static void __init atafb_setup_user(char *spec)
}
}
-int __init atafb_setup(char *options)
+static int __init atafb_setup(char *options)
{
char *this_opt;
int temp;