[linux-dvb] let DVB CVS compile under 2.6.12 <eom>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
> This should be in there..
> 
> --- dvb-kernel/linux/drivers/media/common/saa7146_video.c.orig  2005-05-07
> 04:13:11.000000000 -0700
> +++ dvb-kernel/linux/drivers/media/common/saa7146_video.c       2005-05-07
> 04:09:06.000000000 -0700
> @@ -889,7 +889,11 @@
> 
>                  strcpy(cap->driver, "saa7146 v4l2");
>                 strlcpy(cap->card, dev->ext->name, sizeof(cap->card));
> +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,11))
> +               sprintf(cap->bus_info,"PCI:%s", pci_name(dev->pci));
> +#else
>                 sprintf(cap->bus_info,"PCI:%s",dev->pci->slot_name);
> +#endif
>                 cap->version = SAA7146_VERSION_CODE;
>                 cap->capabilities =
>                         V4L2_CAP_VIDEO_CAPTURE |
> 
Yes - I 've fixed it on my own already, but I see that you have also put it into cvs :-)


-- 
Helmut Auer, helmut@xxxxxxxxxxxxx



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux