original_kernel/drivers/media/i2c
Jacopo Mondi 484f9b372d media: mt9v111: Fix build error with no VIDEO_V4L2_SUBDEV_API
The v4l2_subdev_get_try_format() function is only defined if the
VIDEO_V4L2_SUBDEV_API Kconfig option is enabled. Builds configured
without that symbol fails with:

drivers/media/i2c/mt9v111.c:801:10: error: implicit declaration of function
'v4l2_subdev_get_try_format';

Fix this by protecting the function call by testing for the right symbol.

media: mt9v111: fix random build errors

Fix the internal check for it to do the right thing if the
subdev API is not built.

Fixes: aab7ed1c ("media: i2c: Add driver for Aptina MT9V111")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:57:14 -04:00
..
adv748x
cx25840 media: cx25840: add kernel-doc description of struct cx25840_state 2018-07-04 09:38:49 -04:00
et8ek8 media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
m5mols
s5c73m3
smiapp media: smiapp: fix debug message 2018-07-24 14:54:05 -04:00
soc_camera
Kconfig media: ov2680: Add Omnivision OV2680 sensor driver 2018-07-27 12:40:48 -04:00
Makefile media: ov2680: Add Omnivision OV2680 sensor driver 2018-07-27 12:40:48 -04:00
ad5820.c
ad9389b.c media: ad9389b/adv7511: set proper media entity function 2018-07-25 07:51:58 -04:00
adp1653.c
adv7170.c
adv7175.c
adv7180.c media: adv7180: add g_frame_interval support 2018-07-27 08:04:04 -04:00
adv7183.c
adv7183_regs.h
adv7343.c
adv7343_regs.h
adv7393.c
adv7393_regs.h
adv7511.c media: ad9389b/adv7511: set proper media entity function 2018-07-25 07:51:58 -04:00
adv7604.c media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER 2018-07-25 07:49:28 -04:00
adv7842.c media: i2c: adv7842: Replace mdelay() with msleep() and usleep_range() in adv7842_ddr_ram_test() 2018-07-27 08:11:13 -04:00
ak881x.c
ak7375.c
aptina-pll.c
aptina-pll.h
bt819.c
bt856.c
bt866.c
cs53l32a.c
cs3308.c
cs5345.c
dw9714.c
dw9807-vcm.c media: dw9807-vcm: Recognise this is just the VCM bit of the device 2018-07-27 12:33:09 -04:00
imx258.c
imx274.c media: imx274: add cropping support via SELECTION API 2018-07-27 12:58:07 -04:00
ir-kbd-i2c.c
ks0127.c
ks0127.h
lm3560.c
lm3646.c
m52790.c
max2175.c
max2175.h
ml86v7667.c
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9m111.c
mt9p031.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t001.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t112.c
mt9v011.c
mt9v032.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9v111.c media: mt9v111: Fix build error with no VIDEO_V4L2_SUBDEV_API 2018-08-08 10:57:14 -04:00
noon010pc30.c
ov772x.c
ov2640.c
ov2659.c
ov2680.c media: ov2680: Add Omnivision OV2680 sensor driver 2018-07-27 12:40:48 -04:00
ov2685.c
ov5640.c media: ov5640: do not change mode if format or frame interval is unchanged 2018-07-24 14:53:36 -04:00
ov5645.c media: ov5645: Supported external clock is 24MHz 2018-07-24 15:00:22 -04:00
ov5647.c
ov5670.c
ov5695.c
ov6650.c
ov7251.c
ov7640.c
ov7670.c media: i2c: ov7670: Put ep fwnode after use 2018-07-24 15:01:27 -04:00
ov7740.c
ov9650.c
ov13858.c
rj54n1cb0c.c
s5k4ecgx.c
s5k5baf.c
s5k6a3.c
s5k6aa.c
saa711x_regs.h
saa717x.c
saa6588.c
saa6752hs.c
saa7110.c
saa7115.c
saa7127.c
saa7185.c
smiapp-pll.c
smiapp-pll.h
sony-btf-mpx.c
sr030pc30.c
tc358743.c
tc358743_regs.h
tda1997x.c media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER 2018-07-25 07:49:28 -04:00
tda1997x_regs.h
tda7432.c
tda9840.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c
ths8200.c
ths8200_regs.h
tlv320aic23b.c
tvaudio.c
tvp514x.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tvp514x_regs.h
tvp5150.c
tvp5150_reg.h
tvp7002.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tvp7002_reg.h
tw2804.c
tw9903.c
tw9906.c
tw9910.c
uda1342.c
upd64031a.c
upd64083.c
video-i2c.c media: video-i2c: hwmon: fix return value from amg88xx_hwmon_init() 2018-07-27 08:10:34 -04:00
vp27smpx.c
vpx3220.c
vs6624.c media: i2c: vs6624: Replace mdelay() with msleep() and usleep_range() in vs6624_probe() 2018-07-27 08:11:57 -04:00
vs6624_regs.h
wm8739.c
wm8775.c