From: Mauro Carvalho Chehab Date: Wed, 18 Feb 2015 15:02:09 +0000 (-0300) Subject: [media] cx231xx: fix compilation if the media controller is not defined X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~374 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ba8c75188e1122bd5c4a19321d1913367010c6;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed