diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-06-06 12:40:54 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-19 09:02:51 +0200 |
commit | 0f1044701764d89d7065873153bed5402add677f (patch) | |
tree | 48d61e6dc52f887c97e4dbe3069fc0b38dc2fa2f /drivers/video | |
parent | 79a3908d1ea6c35157a6d907b1a9d8ec06015e7a (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/hitfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/hitfb.c b/drivers/video/fbdev/hitfb.c index 3033f5056976..91766992b438 100644 --- a/drivers/video/fbdev/hitfb.c +++ b/drivers/video/fbdev/hitfb.c @@ -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; |