Hi,
in 2.6.24-rc1 the hardware field in video_device has been removed.

The git log entry says :-

> commit 22c4a4e98ece0eaff13b3d0ac73c5283013eb6b1
> Author: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
>Date:   Mon Oct 15 12:09:17 2007 -0300
>
>    V4L/DVB (6320): v4l core: remove the unused .hardware V4L1 field
>    
>    struct video_device used to define a .hardware field. While
>    initialized on severl drivers, this field is never used inside V4L.
>    However, drivers using it need to include the old V4L1 header.
>   
>   This seems to cause compilation troubles with some random configs.
>   Better just to remove it from all drivers.


This patch makes the driver build for me.

Cheers
Richard  




Index: uvc_driver.c
===================================================================
--- uvc_driver.c        (revision 140)
+++ uvc_driver.c        (working copy)
@@ -1433,7 +1433,6 @@
        vdev->dev = &dev->intf->dev;
        vdev->type = 0;
        vdev->type2 = 0;
-       vdev->hardware = 0;
        vdev->minor = -1;
        vdev->fops = &uvc_fops;
        vdev->release = video_device_release;


_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to