summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/q40fb.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2022-07-11 18:41:11 +0300
committerHelge Deller <deller@gmx.de>2022-07-18 08:54:20 +0300
commit6a7d270e901965b0f8643db885cdc2e6e93b8621 (patch)
treede662bd513bee33fe9648db05371d8a29972680d /drivers/video/fbdev/q40fb.c
parentf45566fb1a1dbaa1a984ca0a41e57ce35fc3aa38 (diff)
downloadlinux-6a7d270e901965b0f8643db885cdc2e6e93b8621.tar.xz
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/q40fb.c')
-rw-r--r--drivers/video/fbdev/q40fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/q40fb.c b/drivers/video/fbdev/q40fb.c
index 079a2a7fb2c5..964bc88bb89c 100644
--- a/drivers/video/fbdev/q40fb.c
+++ b/drivers/video/fbdev/q40fb.c
@@ -133,7 +133,7 @@ static struct platform_device q40fb_device = {
.name = "q40fb",
};
-int __init q40fb_init(void)
+static int __init q40fb_init(void)
{
int ret = 0;