aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurya <surya.prabhakar@wipro.com>2007-05-08 03:25:57 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:02 -0400
commit6de2d20235a2b8c751d39ec4b68347d66b19d815 (patch)
treec90b898501e0eecf92578cd6a8b6333f6fcc4563
parentd954e8edee5de90f8625c041ce177e04ae2c88fe (diff)
replace pci_find_device in drivers/telephony/ixj.c
Cleaning up of pci_find_device in drivers/telephony/ixj.c. Signed-off-by: Surya Prabhakar <surya.prabhakar@wipro.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/telephony/ixj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c
index 71cb64e41a1b..c7b0a357b04a 100644
--- a/drivers/telephony/ixj.c
+++ b/drivers/telephony/ixj.c
@@ -7692,7 +7692,7 @@ static int __init ixj_probe_pci(int *cnt)
7692 IXJ *j = NULL; 7692 IXJ *j = NULL;
7693 7693
7694 for (i = 0; i < IXJMAX - *cnt; i++) { 7694 for (i = 0; i < IXJMAX - *cnt; i++) {
7695 pci = pci_find_device(PCI_VENDOR_ID_QUICKNET, 7695 pci = pci_get_device(PCI_VENDOR_ID_QUICKNET,
7696 PCI_DEVICE_ID_QUICKNET_XJ, pci); 7696 PCI_DEVICE_ID_QUICKNET_XJ, pci);
7697 if (!pci) 7697 if (!pci)
7698 break; 7698 break;
@@ -7712,6 +7712,7 @@ static int __init ixj_probe_pci(int *cnt)
7712 printk(KERN_INFO "ixj: found Internet PhoneJACK PCI at 0x%x\n", j->DSPbase); 7712 printk(KERN_INFO "ixj: found Internet PhoneJACK PCI at 0x%x\n", j->DSPbase);
7713 ++*cnt; 7713 ++*cnt;
7714 } 7714 }
7715 pci_dev_put(pci);
7715 return probe; 7716 return probe;
7716} 7717}
7717 7718