summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/i2c/ov5693
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-16 12:37:05 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-16 10:28:01 -0400
commit8196b8323239aca2d6660716f7fdde051f70911b (patch)
tree46fabdae5af2cc649c816850e73e541f318bdb01 /drivers/staging/media/atomisp/i2c/ov5693
parent313c5197c584cb9d17b46e9b8577459e58cdca49 (diff)
media: staging: atomisp: reenable warnings for I2C
When atomisp got merged, there were so many warnings with W=1 that we simply disabled the ones that were causing troubles. Since then, several changes got applied to atomisp, and the number of warnings are a way smaller than it used to be. So, let's reenable warnings there and fix the issues. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/i2c/ov5693')
-rw-r--r--drivers/staging/media/atomisp/i2c/ov5693/Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov5693/Makefile b/drivers/staging/media/atomisp/i2c/ov5693/Makefile
index aa6be85c5a60..3275f2be229e 100644
--- a/drivers/staging/media/atomisp/i2c/ov5693/Makefile
+++ b/drivers/staging/media/atomisp/i2c/ov5693/Makefile
@@ -1,9 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_VIDEO_ATOMISP_OV5693) += atomisp-ov5693.o
-
-# HACK! While this driver is in bad shape, don't enable several warnings
-# that would be otherwise enabled with W=1
-ccflags-y += $(call cc-disable-warning, unused-but-set-variable)
-ccflags-y += $(call cc-disable-warning, unused-const-variable)
-ccflags-y += $(call cc-disable-warning, missing-prototypes)
-ccflags-y += $(call cc-disable-warning, missing-declarations)