diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-10 03:53:50 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-10 03:53:50 +0000 |
commit | f69a7d19072a6732d6b8b5294b9263c7e4f73256 (patch) | |
tree | ef25ac0e2fe924dbc526e591a605d051b471ec55 /linux/drivers | |
parent | 5bfafc99664fa8e4dcd4265219b6fb41f18587a8 (diff) | |
download | mediapointer-dvb-s2-f69a7d19072a6732d6b8b5294b9263c7e4f73256.tar.gz mediapointer-dvb-s2-f69a7d19072a6732d6b8b5294b9263c7e4f73256.tar.bz2 |
- It removes occurence of pci_find_device (depreciated) in the
kernel tree, replacing to to pci_get_device.
Generated in 2.6.13-rc5-mm1 kernel version.
Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/bttv-cards.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c index db96b792a..ba57d1e58 100644 --- a/linux/drivers/media/video/bttv-cards.c +++ b/linux/drivers/media/video/bttv-cards.c @@ -1,5 +1,5 @@ /* - $Id: bttv-cards.c,v 1.66 2005/08/03 21:14:01 mchehab Exp $ + $Id: bttv-cards.c,v 1.67 2005/08/10 03:53:50 mchehab Exp $ bttv-cards.c @@ -4598,9 +4598,13 @@ void __devinit bttv_check_chipset(void) } if (UNSET != latency) printk(KERN_INFO "bttv: pci latency fixup [%d]\n",latency); - +#ifdef MM_KERNEL + while ((dev = pci_get_device(PCI_VENDOR_ID_INTEL, + PCI_DEVICE_ID_INTEL_82441, dev))) { +#else while ((dev = pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82441, dev))) { +#endif unsigned char b; pci_read_config_byte(dev, 0x53, &b); if (bttv_debug) |