mirror of https://gitee.com/openkylin/linux.git
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
This commit is contained in:
parent
0556461376
commit
50b82a2d69
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "vgatypes.h"
|
||||
#include "vstruct.h"
|
||||
#include "init.h"
|
||||
|
||||
#define VER_MAJOR 1
|
||||
#define VER_MINOR 8
|
||||
|
|
Loading…
Reference in New Issue