Skip to content

Commit

Permalink
video: fbdev: sis: Fix defined but not used warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Cc: Thomas Winischhofer <[email protected]>
Cc: Lee Jones <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
sravnborg committed Nov 30, 2020
1 parent 0556461 commit 50b82a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/fbdev/sis/sis.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "vgatypes.h"
#include "vstruct.h"
#include "init.h"

#define VER_MAJOR 1
#define VER_MINOR 8
Expand Down

0 comments on commit 50b82a2

Please sign in to comment.