]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/media/atomisp/pci/atomisp2/Makefile
Merge branch 'linux-4.13' of git://github.com/skeggsb/linux into drm-fixes
[karo-tx-linux.git] / drivers / staging / media / atomisp / pci / atomisp2 / Makefile
index 726eaa293c55056fc5848d2c324267f4a7b4ab08..2bd98f0667ec6fb08534681c20e14c7d4c6a9882 100644 (file)
@@ -354,7 +354,9 @@ ccflags-y += $(INCLUDES) $(DEFINES) -fno-common
 
 # HACK! While this driver is in bad shape, don't enable several warnings
 #       that would be otherwise enabled with W=1
-ccflags-y += -Wno-unused-const-variable -Wno-missing-prototypes \
-            -Wno-unused-but-set-variable -Wno-missing-declarations \
-            -Wno-suggest-attribute=format -Wno-missing-prototypes \
-            -Wno-implicit-fallthrough
+ccflags-y += $(call cc-disable-warning, implicit-fallthrough)
+ccflags-y += $(call cc-disable-warning, missing-prototypes)
+ccflags-y += $(call cc-disable-warning, missing-declarations)
+ccflags-y += $(call cc-disable-warning, suggest-attribute=format)
+ccflags-y += $(call cc-disable-warning, unused-const-variable)
+ccflags-y += $(call cc-disable-warning, unused-but-set-variable)