video: fbdev: sis: Fix defined but not used warnings
authorSam Ravnborg <sam@ravnborg.org>
Sat, 28 Nov 2020 22:40:53 +0000 (23:40 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 30 Nov 2020 18:29:40 +0000 (19:29 +0100)
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
drivers/video/fbdev/sis/sis.h

index 9f4c3093ccb36c988a1be46fb4c97e100886ef6d..d632f096083b35aff05e7e1ad4e5be6e63a21760 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "vgatypes.h"
 #include "vstruct.h"
-#include "init.h"
 
 #define VER_MAJOR              1
 #define VER_MINOR              8