[media] cx231xx: fix compilation if the media controller is not defined
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 18 Feb 2015 15:02:09 +0000 (12:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 26 Feb 2015 11:43:49 +0000 (08:43 -0300)
commit63ba8c75188e1122bd5c4a19321d1913367010c6
tree15f87378944a42677444016810517a9ac29470d9
parentc1bd57d30bf1b72134d1049b9b169afa96c4d030
[media] cx231xx: fix compilation if the media controller is not defined

drivers/media/usb/cx231xx/cx231xx-cards.c: In function ‘cx231xx_usb_probe’:
drivers/media/usb/cx231xx/cx231xx-cards.c:1589:15: error: ‘struct v4l2_device’ has no member named ‘mdev’
  dev->v4l2_dev.mdev = dev->media_dev;
               ^
drivers/media/usb/cx231xx/cx231xx-cards.c:1589:26: error: ‘struct cx231xx’ has no member named ‘media_dev’
  dev->v4l2_dev.mdev = dev->media_dev;
                          ^
scripts/Makefile.build:257: recipe for target 'drivers/media/usb/cx231xx/cx231xx-cards.o' failed

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-dvb.c
This page took 0.024456 seconds and 5 git commands to generate.