[PATCH 8/14] drivers/isdn/hisax/hfc_pci.c: fix warning
Michael Borisov <[email protected]> Sat, 26 Jul 2008 22:45:02 +0300
| Newsgroups | gmane.linux.isdn,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <1217101502.6107.134.camel@inlin> |
This patch fixes the following compile warning: drivers/isdn/hisax/hfc_pci.c: In function =E2=80=98setup_hfcpci=E2=80=99= : drivers/isdn/hisax/hfc_pci.c:1661: 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/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) =20 i =3D 0; while (id_list[i].vendor_id) { - tmp_hfcpci =3D pci_find_device(id_list[i].vendor_id, + tmp_hfcpci =3D 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 linux-isdn" i= n the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html