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

Helmut Auer vdr at helmutauer.de
Sun Jun 19 15:52:16 CEST 2005


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 at helmutauer.de




More information about the linux-dvb mailing list