linux_dsm_epyc7002/drivers/media/usb/em28xx
Arnd Bergmann 0d37ba6250 [media] em28xx: restore lost #ifdef
The cleanup that changed the em28xx driver to use v4l2_mc_create_media_graph
instead of its own implementation causes a build error when CONFIG_MEDIA_CONTROLLER
is disabled:

drivers/media/usb/em28xx/em28xx-video.c: In function 'em28xx_v4l2_init':
drivers/media/usb/em28xx/em28xx-video.c:2717:38: error: 'struct em28xx' has no member named 'media_dev'

This puts the new code inside the same #ifdef that controls the presence
of the 'media_dev' member, and that the old code was in.

Fixes: de39078779 ("[media] em2xx: use v4l2_mc_create_media_graph()")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-03 14:12:26 -03:00
..
em28xx-audio.c [media] em28xx-audio: fix missing newlines 2014-12-23 14:46:07 -02:00
em28xx-camera.c [media] em28xx: add media controller support 2016-02-01 07:29:46 -02:00
em28xx-cards.c [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
em28xx-core.c [media] em28xx-core: fix missing newlines 2014-12-23 14:46:05 -02:00
em28xx-dvb.c [media] cx231xx, em28xx: pass media_device to si2157 2016-02-16 08:53:06 -02:00
em28xx-i2c.c [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-input.c [media] em28xx-input: fix missing newlines 2014-12-23 14:46:04 -02:00
em28xx-reg.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-v4l.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
em28xx-video.c [media] em28xx: restore lost #ifdef 2016-03-03 14:12:26 -03:00
em28xx.h [media] em28xx: add media controller support 2016-02-01 07:29:46 -02:00
Kconfig [media] em28xx: switch PCTV 461e to ts2020 driver 2015-04-02 22:24:25 -03:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00