Messages in this thread Patch in this message | | | Date | Sun, 20 Apr 2008 12:04:10 +0200 | From | Udo van den Heuvel <> | Subject | [PATCH] w6692: replace deprecated pci_find_device |
| |
Hello,
Found this is still necessary for 2.6.25 for the w6692 hisax isdn cards. Maybe someone has already prepared a patch? If not you could use this one.
1. replace deprecated pci_find_device
Signed-off-by: Udo van den Heuvel <udovdh@xs4all.nl>
Kind regards, Udo --- a/drivers/isdn/hisax/w6692.c 2008-04-20 11:57:26.000000000 +0200 +++ b/drivers/isdn/hisax/w6692.c 2008-04-20 11:57:48.000000000 +0200 @@ -1011,7 +1011,7 @@ 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) { | |