OSDN Git Service

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 e5464a0..674a132 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 \