Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Arnd Bergmann and committed by
Helge Deller
e638d371 dc608db7

+1 -1
+1 -1
drivers/video/fbdev/sa1100fb.c
··· 1214 1214 }, 1215 1215 }; 1216 1216 1217 - int __init sa1100fb_init(void) 1217 + static int __init sa1100fb_init(void) 1218 1218 { 1219 1219 if (fb_get_options("sa1100fb", NULL)) 1220 1220 return -ENODEV;