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:
Thomas Zimmermann 2023-06-06 12:40:54 +02:00 committed by Helge Deller
parent 79a3908d1e
commit 0f10447017

View File

@ -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;