lkml.org 
[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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) {
\
 
 \ /
  Last update: 2008-04-20 12:07    [W:0.043 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site