mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
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>
This commit is contained in:
parent
79a3908d1e
commit
0f10447017
@ -167,7 +167,7 @@ static int hitfb_pan_display(struct fb_var_screeninfo *var,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int hitfb_blank(int blank_mode, struct fb_info *info)
|
||||
static int hitfb_blank(int blank_mode, struct fb_info *info)
|
||||
{
|
||||
unsigned short v;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user