Skip to content

Commit e638d37

Browse files
arndbhdeller
authored andcommitted
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 <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent dc608db commit e638d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/sa1100fb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ static struct platform_driver sa1100fb_driver = {
12141214
},
12151215
};
12161216

1217-
int __init sa1100fb_init(void)
1217+
static int __init sa1100fb_init(void)
12181218
{
12191219
if (fb_get_options("sa1100fb", NULL))
12201220
return -ENODEV;

0 commit comments

Comments
 (0)