aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/telephony/ixj.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/telephony/ixj.c')
-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