Skip to content

Commit 0f10447

Browse files
tdzhdeller
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 <tzimmermann@suse.de> Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 79a3908 commit 0f10447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)