diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2022-07-11 17:41:11 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-07-18 07:54:20 +0200 |
commit | 6a7d270e901965b0f8643db885cdc2e6e93b8621 (patch) | |
tree | de662bd513bee33fe9648db05371d8a29972680d /drivers/video/fbdev/fm2fb.c | |
parent | f45566fb1a1dbaa1a984ca0a41e57ce35fc3aa38 (diff) | |
download | lwn-6a7d270e901965b0f8643db885cdc2e6e93b8621.tar.gz lwn-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/fm2fb.c')
-rw-r--r-- | drivers/video/fbdev/fm2fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/fm2fb.c b/drivers/video/fbdev/fm2fb.c index 3b727d528fde..942e382cf1cf 100644 --- a/drivers/video/fbdev/fm2fb.c +++ b/drivers/video/fbdev/fm2fb.c @@ -293,7 +293,7 @@ static int fm2fb_probe(struct zorro_dev *z, const struct zorro_device_id *id) return 0; } -int __init fm2fb_setup(char *options) +static int __init fm2fb_setup(char *options) { char *this_opt; @@ -309,7 +309,7 @@ int __init fm2fb_setup(char *options) return 0; } -int __init fm2fb_init(void) +static int __init fm2fb_init(void) { char *option = NULL; |