drivers/isdn/hisax/hfc_pci.c: fix warning
PATCH 8/14 drivers/isdn/hisax/hfc_pci.c: fix warning
This patch fixes the following compile warning:
drivers/isdn/hisax/hfc_pci.c: In function ‘setup_hfcpci’:drivers/isdn/hisax/hfc_pci.c:1661: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:535)
Signed-off-by Michael Borisov <[email protected]>
---
drivers/isdn/hisax/hfc_pci.c +1 -1
@@ -1658,7 +1658,7 @@ setup_hfcpci(struct IsdnCard *card) i =0 ;while (id_list[i].vendor_id) { - tmp_hfcpci =pci_find_device (id_list[i].vendor_id, + tmp_hfcpci =pci_get_device (id_list[i].vendor_id, id_list[i].device_id, dev_hfcpci); i++;