diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 07:34:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 08:57:05 -0300 |
commit | 4c9ef4f150589478ac0b26bc7db1216c0af207fb (patch) | |
tree | 46ebfc8529b769497627935e21338670386bbe52 /drivers/staging/media/atomisp/i2c/imx/Makefile | |
parent | 36bcba973ad478042d1ffc6e89afd92e8bd17030 (diff) | |
download | op-kernel-dev-4c9ef4f150589478ac0b26bc7db1216c0af207fb.zip op-kernel-dev-4c9ef4f150589478ac0b26bc7db1216c0af207fb.tar.gz |
[media] atomisp: disable several warnings when W=1
The atomisp currently produce hundreds of warnings when W=1.
It is a known fact that this driver is currently in bad
shape, and there are lot of things to be done here.
We don't want to be bothered by those "minor" stuff for now,
while the driver doesn't receive a major cleanup. So,
disable those warnings.
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/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/media/atomisp/i2c/imx/Makefile b/drivers/staging/media/atomisp/i2c/imx/Makefile index 6b13a3a..0eceb73 100644 --- a/drivers/staging/media/atomisp/i2c/imx/Makefile +++ b/drivers/staging/media/atomisp/i2c/imx/Makefile @@ -4,3 +4,8 @@ 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 + +# 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-but-set-variable -Wno-missing-prototypes \ + -Wno-unused-const-variable -Wno-missing-declarations |