summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/i2c/imx/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 05:40:18 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 05:44:00 -0300
commitdd8245f445f5e751b38126140b6ba1723f06c60b (patch)
tree1d4cd6e875f349cfa5063d901bc72241f9c33670 /drivers/staging/media/atomisp/i2c/imx/Makefile
parent6d469a202ee73196d0df76025af80bd6a379e658 (diff)
downloadop-kernel-dev-dd8245f445f5e751b38126140b6ba1723f06c60b.zip
op-kernel-dev-dd8245f445f5e751b38126140b6ba1723f06c60b.tar.gz
[media] atomisp: don't treat warnings as errors
Several atomisp files use: ccflags-y += -Werror As, on media, our usual procedure is to use W=1, and atomisp has *a lot* of warnings with such flag enabled,like: ./drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/system_local.h:62:26: warning: 'DDR_BASE' defined but not used [-Wunused-const-variable=] At the end, it causes our build to fail, impacting our workflow. So, remove this crap. If one wants to force -Werror, he can still build with it enabled by passing a parameter to make. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media/atomisp/i2c/imx/Makefile')
-rw-r--r--drivers/staging/media/atomisp/i2c/imx/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/i2c/imx/Makefile b/drivers/staging/media/atomisp/i2c/imx/Makefile
index 1d7f7ab..6b13a3a 100644
--- a/drivers/staging/media/atomisp/i2c/imx/Makefile
+++ b/drivers/staging/media/atomisp/i2c/imx/Makefile
@@ -4,5 +4,3 @@ imx1x5-objs := imx.o drv201.o ad5816g.o dw9714.o dw9719.o dw9718.o vcm.o otp.o o
ov8858_driver-objs := ../ov8858.o dw9718.o vcm.o
obj-$(CONFIG_VIDEO_OV8858) += ov8858_driver.o
-
-ccflags-y += -Werror
OpenPOWER on IntegriCloud