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/dnfb.c | |
parent | f45566fb1a1dbaa1a984ca0a41e57ce35fc3aa38 (diff) | |
download | linux-6a7d270e901965b0f8643db885cdc2e6e93b8621.tar.bz2 |
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/dnfb.c')
-rw-r--r-- | drivers/video/fbdev/dnfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/dnfb.c b/drivers/video/fbdev/dnfb.c index 3688f9165848..18405c402ec1 100644 --- a/drivers/video/fbdev/dnfb.c +++ b/drivers/video/fbdev/dnfb.c @@ -280,7 +280,7 @@ static struct platform_device dnfb_device = { .name = "dnfb", }; -int __init dnfb_init(void) +static int __init dnfb_init(void) { int ret; |