diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-11-28 23:40:53 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-11-30 19:29:40 +0100 |
commit | 50b82a2d695753013cc83d70cbd328c6a507c1bf (patch) | |
tree | 78d9437724d1cc4e5b012ec408acc560ea68d6a7 /drivers/video | |
parent | video: fbdev: aty: Fix set but not used warnings in mach64_ct (diff) | |
download | linux-50b82a2d695753013cc83d70cbd328c6a507c1bf.tar.xz linux-50b82a2d695753013cc83d70cbd328c6a507c1bf.zip |
video: fbdev: sis: Fix defined but not used warnings
init.h defines static symbols, so it should only be included
once. Drop the include from sis.h as it is not needed.
This fixes a lot of warnings seen with a W=1 build.
v2:
- Update subject (Lee)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Lee Jones <lee.jones@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201128224114.1033617-8-sam@ravnborg.org
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/sis/sis.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sis/sis.h b/drivers/video/fbdev/sis/sis.h index 9f4c3093ccb3..d632f096083b 100644 --- a/drivers/video/fbdev/sis/sis.h +++ b/drivers/video/fbdev/sis/sis.h @@ -15,7 +15,6 @@ #include "vgatypes.h" #include "vstruct.h" -#include "init.h" #define VER_MAJOR 1 #define VER_MINOR 8 |