Skip to content

Commit 0f10447

Browse files
Thomas Zimmermannhdeller
authored andcommitted
fbdev: hitfb: Declare hitfb_blank() as static
Fixes the following warnings: ../drivers/video/fbdev/hitfb.c:186:5: warning: no previous prototype for 'hitfb_blank' [-Wmissing-prototypes] 186 | int hitfb_blank(int blank_mode, struct fb_info *info) | ^~~~~~~~~~~ ../drivers/video/fbdev/hitfb.c:186:5: warning: symbol 'hitfb_blank' was not declared. Should it be static? Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Michael J. Ruhl <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 79a3908 commit 0f10447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/hitfb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static int hitfb_pan_display(struct fb_var_screeninfo *var,
167167
return 0;
168168
}
169169

170-
int hitfb_blank(int blank_mode, struct fb_info *info)
170+
static int hitfb_blank(int blank_mode, struct fb_info *info)
171171
{
172172
unsigned short v;
173173

0 commit comments

Comments
 (0)