Commit e638d371 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Helge Deller

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent dc608db7
...@@ -1214,7 +1214,7 @@ static struct platform_driver sa1100fb_driver = { ...@@ -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)) if (fb_get_options("sa1100fb", NULL))
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment