Skip to contentSkip to conversation

drivers/telephony/ remove pci_find_{device,

PATCH In review Amit Gud 2 participants 2 messages Feb 14, 2005 Kernel janitors

lore
Share & tools
lore

Amit Gud

author
#0 lore raw

PATCH 13/18 drivers/telephony/ remove pci_find_{device,

Remove deprecated pci_find_device and pci_find_subsys

Do consider applying.

drivers/telephony/ixj.c +1 -1
diff -uprN orig/drivers/telephony/ixj.c linux-2.6.11-rc3/drivers/telephony/ixj.c
@@ -7751,7 +7751,7 @@ static int __init ixj_probe_pci(int *cnt
 	IXJ *j = NULL;
 
 	for (i = 0; i < IXJMAX - *cnt; i++) {
-		pci = pci_find_device(0x15E2, 0x0500, pci);
+		pci = pci_get_device(0x15E2, 0x0500, pci);
 		if (!pci)
 			break;
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw
Quoted 10 lines · Amit Gud

Remove deprecated pci_find_device and pci_find_subsys

Do consider applying.

diff -uprN orig/drivers/telephony/ixj.c linux-2.6.11-rc3/drivers/telephony/ixj.c

drivers/telephony/ixj.c static int __init ixj_probe_pci(int *cnt · line 7757

Quoted 8 lines
drivers/telephony/ixj.c +1 -1
@@ -7751,7 +7751,7 @@ static int __init ixj_probe_pci(int *cnt
 	IXJ *j = NULL;
 
 	for (i = 0; i < IXJMAX - *cnt; i++) {
-		pci = pci_find_device(0x15E2, 0x0500, pci);
+		pci = pci_get_device(0x15E2, 0x0500, pci);
 		if (!pci)
 			break;
 

No, incorrect usage, please do not apply.

thanks,

greg k-h

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors