Skip to contentSkip to conversation

drivers/isdn/hisax/enternow_pci.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 14/14 drivers/isdn/hisax/enternow_pci.c: fix warning

This patch fixes the following compile warning:

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

---

(quoted diff) +0 -0

b/drivers/isdn/hisax/enternow_pci.c
index 39f421e..367c32c 100644

drivers/isdn/hisax/enternow_pci.c +1 -1
@@ -406,7 +406,7 @@ setup_enternow_pci(struct IsdnCard *card)
 
 	for ( ;; )
 	{
-		if ((dev_netjet = pci_find_device(PCI_VENDOR_ID_TIGERJET,
+		if ((dev_netjet = pci_get_device(PCI_VENDOR_ID_TIGERJET,
 			PCI_DEVICE_ID_TIGERJET_300,  dev_netjet))) {
 			ret = en_pci_probe(dev_netjet, cs);
 			if (!ret)