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 <niro@xxxxxx> --- diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index f126566..64b9dc8 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c @@ -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++; -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html