drm/msm: fix build error with W=1
authorRob Clark <robdclark@gmail.com>
Tue, 20 Jan 2015 18:04:12 +0000 (13:04 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 1 Feb 2015 20:32:48 +0000 (15:32 -0500)
Combining -Werror with all the extra warning flags that W=1 adds doesn't
go so well.  Especially because some of the warnings triggered are from
included headers.  So just drop -Werror.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile

index e5464a021dc72b60c66a1bb2399ca178f4354cf3..674a132fd76e1373e6be33178ba46413a20c6de0 100644 (file)
@@ -1,7 +1,4 @@
 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
-ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
-       ccflags-y += -Werror
-endif
 
 msm-y := \
        adreno/adreno_device.o \