[PATCH 14/14] drivers/isdn/hisax/enternow_pci.c: fix warning
Michael Borisov <[email protected]> Sat, 26 Jul 2008 22:45:18 +0300
| Newsgroups | gmane.linux.isdn,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <1217101518.6107.140.camel@inlin> |
This patch fixes the following compile warning: drivers/isdn/hisax/enternow_pci.c: In function =E2=80=98setup_enternow_= pci=E2=80=99: drivers/isdn/hisax/enternow_pci.c:409: warning: =E2=80=98pci_find_devic= e=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/enternow_pci.c b/drivers/isdn/hisax/enternow_pci.c index 39f421e..367c32c 100644 --- a/drivers/isdn/hisax/enternow_pci.c +++ b/drivers/isdn/hisax/enternow_pci.c @@ -406,7 +406,7 @@ setup_enternow_pci(struct IsdnCard *card) =20 for ( ;; ) { - if ((dev_netjet =3D pci_find_device(PCI_VENDOR_ID_TIGERJET, + if ((dev_netjet =3D pci_get_device(PCI_VENDOR_ID_TIGERJET, PCI_DEVICE_ID_TIGERJET_300, dev_netjet))) { ret =3D en_pci_probe(dev_netjet, cs); 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