[PATCH 10/14] drivers/isdn/hisax/bkm_a4t.c: fix warning
Michael Borisov <[email protected]> Sat, 26 Jul 2008 22:45:08 +0300
| Newsgroups | gmane.linux.isdn,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <1217101508.6107.136.camel@inlin> |
This patch fixes the following compile warning: drivers/isdn/hisax/bkm_a4t.c: In function =E2=80=98setup_bkm_a4t=E2=80=99= : drivers/isdn/hisax/bkm_a4t.c:343: 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/bkm_a4t.c b/drivers/isdn/hisax/bkm_a4t.= c index 9ca2ee5..fca0acb 100644 --- a/drivers/isdn/hisax/bkm_a4t.c +++ b/drivers/isdn/hisax/bkm_a4t.c @@ -340,7 +340,7 @@ setup_bkm_a4t(struct IsdnCard *card) } else return (0); =20 - while ((dev_a4t =3D pci_find_device(PCI_VENDOR_ID_ZORAN, + while ((dev_a4t =3D pci_get_device(PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36120, dev_a4t))) { ret =3D a4t_pci_probe(dev_a4t, cs, &found, &pci_memaddr); if (!ret) -- 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