Skip to contentSkip to conversation

drivers/isdn/hisax/w6692.c: fix warning

PATCH Superseded Michael Borisov 1 participant 1 message Jul 26, 2008 Kernel janitors

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 13/14 drivers/isdn/hisax/w6692.c: fix warning

This patch fixes the following compile warning:

drivers/isdn/hisax/w6692.c: In function ‘setup_w6692’:
drivers/isdn/hisax/w6692.c:1012: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:535)

---

drivers/isdn/hisax/w6692.c +1 -1
index bb1c8dd..4f39ddd 100644
@@ -1009,7 +1009,7 @@ setup_w6692(struct IsdnCard *card)
 		return (0);
 
 	while (id_list[id_idx].vendor_id) {
-		dev_w6692 = pci_find_device(id_list[id_idx].vendor_id,
+		dev_w6692 = pci_get_device(id_list[id_idx].vendor_id,
 					    id_list[id_idx].device_id,
 					    dev_w6692);
 		if (dev_w6692) {