[PATCH 13/14] drivers/isdn/hisax/w6692.c: fix warning
Michael Borisov <[email protected]> Sat, 26 Jul 2008 22:45:16 +0300
| Newsgroups | gmane.linux.isdn,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <1217101516.6107.139.camel@inlin> |
This patch fixes the following compile warning: drivers/isdn/hisax/w6692.c: In function =E2=80=98setup_w6692=E2=80=99: drivers/isdn/hisax/w6692.c:1012: warning: =E2=80=98pci_find_device=E2=80= =99 is deprecated (declared at include/linux/pci.h:535) Signed-off-by: Michael Borisov <[email protected]> --- diff --git a/drivers/isdn/hisax/w6692.c b/drivers/isdn/hisax/w6692.c index bb1c8dd..4f39ddd 100644 --- a/drivers/isdn/hisax/w6692.c +++ b/drivers/isdn/hisax/w6692.c @@ -1009,7 +1009,7 @@ setup_w6692(struct IsdnCard *card) return (0); =20 while (id_list[id_idx].vendor_id) { - dev_w6692 =3D pci_find_device(id_list[id_idx].vendor_id, + dev_w6692 =3D pci_get_device(id_list[id_idx].vendor_id, id_list[id_idx].device_id, dev_w6692); if (dev_w6692) { -- To unsubscribe from this list: send the line "unsubscribe linux-isdn" i= n the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html