diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-10-16 23:04:40 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-10-17 00:04:27 +0300 |
commit | e638d3710f0e2483ce01fbc113da83ba3639489c (patch) | |
tree | dba9e57dc88a31e28a58bd0af1deef2fde1965c9 /drivers/video/fbdev | |
parent | dc608db793731426938baa2f0e75a4a3cce5f5cf (diff) | |
download | linux-e638d3710f0e2483ce01fbc113da83ba3639489c.tar.xz |
fbdev: sa1100fb: mark sa1100fb_init() static
This is a global function that is only referenced as an initcall. This causes
a warning:
drivers/video/fbdev/sa1100fb.c:1218:12: error: no previous prototype for 'sa1100fb_init' [-Werror=missing-prototypes]
Make it static instead.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r-- | drivers/video/fbdev/sa1100fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index 3d76ce111488..cf0f706762b4 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c @@ -1214,7 +1214,7 @@ static struct platform_driver sa1100fb_driver = { }, }; -int __init sa1100fb_init(void) +static int __init sa1100fb_init(void) { if (fb_get_options("sa1100fb", NULL)) return -ENODEV; |