Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1296772

Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c
Date 2015-12-22 13:50 +0100
Message-ID <qIuy7-41F-21@gated-at.bofh.it> (permalink)
References <qIscV-2CJ-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Valdis,

On 12/22/2015 07:18 AM, Valdis Kletnieks wrote:
> next-20151222 fails to build for me:
> 
>   CC      drivers/media/usb/uvc/uvc_driver.o
> drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe':
> drivers/media/usb/uvc/uvc_driver.c:1941:32: error: 'struct uvc_device' has no member named 'mdev'
>   if (media_device_register(&dev->mdev) < 0)
>                                 ^
> scripts/Makefile.build:258: recipe for target 'drivers/media/usb/uvc/uvc_driver.o' failed
> 
> 'git blame' points at that line being added in:
> 
> commit 1590ad7b52714fddc958189103c95541b49b1dae
> Author: Javier Martinez Canillas <javier@osg.samsung.com>
> Date:   Fri Dec 11 20:57:08 2015 -0200
> 
>     [media] media-device: split media initialization and registration
> 
> Not sure what went wrong here.
>

It was my forgetting to test with !CONFIG_MEDIA_CONTROLLER...

Anyways, I've already posted a fix for this:

https://lkml.org/lkml/2015/12/21/224

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c Valdis Kletnieks <Valdis.Kletnieks@vt.edu> - 2015-12-22 11:20 +0100
  Re: next-20151222 - compile failure in  drivers/media/usb/uvc/uvc_driver.c Javier Martinez Canillas <javier@osg.samsung.com> - 2015-12-22 13:50 +0100
    Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c Valdis.Kletnieks@vt.edu - 2015-12-22 18:10 +0100
    Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2015-12-22 19:10 +0100
      Re: next-20151222 - compile failure in  drivers/media/usb/uvc/uvc_driver.c Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2015-12-22 19:40 +0100
        Re: next-20151222 - compile failure in drivers/media/usb/uvc/uvc_driver.c Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2015-12-23 00:10 +0100
          Re: next-20151222 - compile failure in  drivers/media/usb/uvc/uvc_driver.c Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2015-12-23 13:30 +0100

csiph-web