summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/hpfb.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/hpfb.c
parentf45566fb1a1dbaa1a984ca0a41e57ce35fc3aa38 (diff)
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/hpfb.c')
-rw-r--r--drivers/video/fbdev/hpfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/hpfb.c b/drivers/video/fbdev/hpfb.c
index 8d418abdd767..cdd44e5deafe 100644
--- a/drivers/video/fbdev/hpfb.c
+++ b/drivers/video/fbdev/hpfb.c
@@ -375,7 +375,7 @@ static struct dio_driver hpfb_driver = {
.remove = hpfb_remove_one,
};
-int __init hpfb_init(void)
+static int __init hpfb_init(void)
{
unsigned int sid;
unsigned char i;
@@ -415,7 +415,7 @@ int __init hpfb_init(void)
return 0;
}
-void __exit hpfb_cleanup_module(void)
+static void __exit hpfb_cleanup_module(void)
{
dio_unregister_driver(&hpfb_driver);
}