linux/drivers/media
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
..
common [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dvb-core [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dvb-frontends [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] ov2659: Don't depend on subdev API 2015-06-09 18:13:46 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
platform [media] bdisp: add debug file system 2015-06-09 18:12:28 -03:00
radio [media] radio-si470x-i2c: Pass the IRQF_ONESHOT flag 2015-06-06 07:34:08 -03:00
rc [media] ir: Fix IR_MAX_DURATION enforcement 2015-06-05 11:26:42 -03:00
tuners [media] fc2580: add missing error status when probe() fails 2015-06-09 17:22:57 -03:00
usb [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
v4l2-core [media] v4l2-dv-timings: add interlace support in detect cvt/gtf 2015-06-09 17:44:42 -03:00
Kconfig media controller: add EXPERIMENTAL to Kconfig option for DVB support 2015-05-08 14:48:49 -03:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00