drivers/isdn/hisax/w6692.c: fix warning
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)
Signed-off-by Michael Borisov <[email protected]>
---
drivers/isdn/hisax/w6692.c +1 -1
@@ -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) {