* [kj]Patch8:replace pci_find_device in drivers/telephony/ixj.c
@ 2007-03-07 4:45 Surya
0 siblings, 0 replies; only message in thread
From: Surya @ 2007-03-07 4:45 UTC (permalink / raw)
To: eokerson; +Cc: alan, kernel-janitors, linux-kernel, trivial
Hi,
Cleaning up of pci_find_device in drivers/telephony/ixj.c.
Applies and compiles clean on Linus tree. No hardware hence not tested!!
Unable to find a suitable Maintainer for the current subsection in the Maintainers file.
I am not sure whether this is orphaned or maintained.
Can somebody help me identify the actual maintainer.
thank you.
Signed-off-by: Surya Prabhakar <surya.prabhakar@wipro.com>
---
diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c
index 71cb64e..c7b0a35 100644
--- a/drivers/telephony/ixj.c
+++ b/drivers/telephony/ixj.c
@@ -7692,7 +7692,7 @@ static int __init ixj_probe_pci(int *cnt
IXJ *j = NULL;
for (i = 0; i < IXJMAX - *cnt; i++) {
- pci = pci_find_device(PCI_VENDOR_ID_QUICKNET,
+ pci = pci_get_device(PCI_VENDOR_ID_QUICKNET,
PCI_DEVICE_ID_QUICKNET_XJ, pci);
if (!pci)
break;
@@ -7712,6 +7712,7 @@ static int __init ixj_probe_pci(int *cnt
printk(KERN_INFO "ixj: found Internet PhoneJACK PCI at 0x%x\n", j->DSPbase);
++*cnt;
}
+ pci_dev_put(pci);
return probe;
}
--
surya.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-07 4:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 4:45 [kj]Patch8:replace pci_find_device in drivers/telephony/ixj.c Surya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®