mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04: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:
committed by
Helge Deller
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user