Skip to content

Commit

Permalink
compat-drivers: do not treat a warning as error
Browse files Browse the repository at this point in the history
Older kernel version show more warnings like -Werror=unused-but-set-variable
and with this option they are treated as an error.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed Jan 25, 2013
1 parent c52d386 commit 8ccd930
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- a/drivers/net/wireless/ath/wil6210/Makefile
+++ b/drivers/net/wireless/ath/wil6210/Makefile
@@ -9,5 +9,4 @@ wil6210-objs += wmi.o
wil6210-objs += interrupt.o
wil6210-objs += txrx.o

-subdir-ccflags-y += -Werror
subdir-ccflags-y += -D__CHECK_ENDIAN__

0 comments on commit 8ccd930

Please sign in to comment.