linux/drivers/media/i2c
Mauro Carvalho Chehab fa8cb6444c [media] ov2659: Don't depend on subdev API
The subdev API is optional. No driver should depend on it.

Avoid compilation breakages if subdev API is not selected:

drivers/media/i2c/ov2659.c: In function ‘ov2659_get_fmt’:
drivers/media/i2c/ov2659.c:1054:3: error: implicit declaration of function ‘v4l2_subdev_get_try_format’ [-Werror=implicit-function-declaration]
   mf = v4l2_subdev_get_try_format(sd, cfg, 0);
   ^
drivers/media/i2c/ov2659.c:1054:6: warning: assignment makes pointer from integer without a cast
   mf = v4l2_subdev_get_try_format(sd, cfg, 0);
      ^
drivers/media/i2c/ov2659.c: In function ‘ov2659_set_fmt’:
drivers/media/i2c/ov2659.c:1129:6: warning: assignment makes pointer from integer without a cast
   mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
      ^
drivers/media/i2c/ov2659.c: In function ‘ov2659_open’:
drivers/media/i2c/ov2659.c:1264:38: error: ‘struct v4l2_subdev_fh’ has no member named ‘pad’
     v4l2_subdev_get_try_format(sd, fh->pad, 0);
                                      ^

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
2015-06-09 18:13:46 -03:00
..
cx25840 [media] v4l2: replace s_mbus_fmt by set_fmt 2015-05-01 08:52:34 -03:00
m5mols [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5c73m3 [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
smiapp [media] smiapp: Use v4l2_of_alloc_parse_endpoint() 2015-04-27 16:05:55 -03:00
soc_camera [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
Kconfig [media] adv7604: log infoframes 2015-06-09 17:34:35 -03:00
Makefile [media] media: i2c: add support for omnivision's ov2659 sensor 2015-04-02 22:15:46 -03:00
ad9389b.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
adp1653.c [media] media: i2c/adp1653: Devicetree support for adp1653 2015-04-27 16:19:23 -03:00
adv7170.c [media] v4l2: replace s_mbus_fmt by set_fmt 2015-05-01 08:52:34 -03:00
adv7175.c [media] v4l2: replace s_mbus_fmt by set_fmt 2015-05-01 08:52:34 -03:00
adv7180.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
adv7183.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
adv7183_regs.h [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
adv7343.c [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
adv7343_regs.h [media] drivers: media: i2c: adv7343_regs.h: Fix typo in #ifndef 2014-09-21 20:12:13 -03:00
adv7393.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
adv7393_regs.h
adv7511.c [media] adv7511: log the currently set infoframes 2015-06-09 17:30:39 -03:00
adv7604.c [media] v4l2-dv-timings: add interlace support in detect cvt/gtf 2015-06-09 17:44:42 -03:00
adv7842.c [media] v4l2-dv-timings: add interlace support in detect cvt/gtf 2015-06-09 17:44:42 -03:00
ak881x.c [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
aptina-pll.c
aptina-pll.h
as3645a.c [media] media: i2c: Convert to devm_kzalloc() 2013-05-21 07:52:15 -03:00
bt819.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
bt856.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
bt866.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
cs53l32a.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
cs5345.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ir-kbd-i2c.c [media] i2c: Deletion of an unnecessary check before the function call "rc_unregister_device" 2014-11-25 13:30:35 -02:00
ks0127.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
ks0127.h
lm3560.c [media] lm3560: simplify boolean tests 2014-09-03 17:59:24 -03:00
lm3646.c [media] lm3646: add new dual LED Flash driver 2014-03-11 10:00:26 -03:00
m52790.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ml86v7667.c [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
msp3400-driver.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9p031.c [media] v4l: mt9p031: Convert to the gpiod API 2015-04-02 21:29:56 -03:00
mt9t001.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9v011.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
mt9v032.c [media] v4l: mt9v032: Add OF support 2015-04-02 21:31:31 -03:00
noon010pc30.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
ov2659.c [media] ov2659: Don't depend on subdev API 2015-06-09 18:13:46 -03:00
ov7640.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ov7670.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
ov9650.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k4ecgx.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k5baf.c [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
s5k6a3.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k6aa.c [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
saa711x_regs.h [media] saa7115: Implement i2c_board_info.platform_data 2013-08-18 08:27:07 -03:00
saa717x.c [media] v4l2: replace s_mbus_fmt by set_fmt 2015-05-01 08:52:34 -03:00
saa6588.c [media] saa6588: add support for non-blocking mode 2014-01-07 07:42:19 -02:00
saa6752hs.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
saa7110.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7115.c [media] v4l2: replace s_mbus_fmt by set_fmt 2015-05-01 08:52:34 -03:00
saa7127.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
saa7185.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
smiapp-pll.c [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
smiapp-pll.h [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
sony-btf-mpx.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
sr030pc30.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
tda7432.c [media] tda7432: Fix setting TDA7432_MUTE bit for TDA7432_RF register 2014-08-21 15:25:36 -05:00
tda9840.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6415c.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6415c.h
tea6420.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6420.h
ths7303.c [media] media: i2c: ths7303: drop module param debug 2015-03-03 11:21:57 -03:00
ths8200.c [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
ths8200_regs.h [media] media: i2c: ths8200: driver for TI video encoder 2013-06-17 09:52:31 -03:00
tlv320aic23b.c [media] media: i2c: Convert to devm_kzalloc() 2013-05-21 07:52:15 -03:00
tvaudio.c media: replace bellow -> below 2015-05-08 14:48:48 -03:00
tvp514x.c [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
tvp514x_regs.h
tvp5150.c [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
tvp5150_reg.h
tvp7002.c [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
tvp7002_reg.h
tw2804.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tw9903.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tw9906.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
uda1342.c [media] media: i2c: Convert to devm_kzalloc() 2013-05-21 07:52:15 -03:00
upd64031a.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
upd64083.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
vp27smpx.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
vpx3220.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
vs6624.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
vs6624_regs.h
wm8739.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
wm8775.c [media] wm8775: fix broken audio routing 2013-11-29 14:34:54 -02:00