[PATCH 12/14] drivers/isdn/hisax/gazel.c: fix warning

Michael Borisov <[email protected]> Sat, 26 Jul 2008 22:45:13 +0300
Newsgroups gmane.linux.isdn,gmane.linux.kernel.janitors
Message-ID <1217101513.6107.138.camel@inlin>
This patch fixes the following compile warning:

drivers/isdn/hisax/gazel.c: In function =E2=80=98setup_gazelpci=E2=80=99=
:
drivers/isdn/hisax/gazel.c:549: 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/gazel.c b/drivers/isdn/hisax/gazel.c
index 0ea3b46..16fe01c 100644
--- a/drivers/isdn/hisax/gazel.c
+++ b/drivers/isdn/hisax/gazel.c
@@ -546,7 +546,7 @@ setup_gazelpci(struct IsdnCardState *cs)
 	found =3D 0;
 	seekcard =3D PCI_DEVICE_ID_PLX_R685;
 	for (nbseek =3D 0; nbseek < 4; nbseek++) {
-		if ((dev_tel =3D pci_find_device(PCI_VENDOR_ID_PLX,
+		if ((dev_tel =3D pci_get_device(PCI_VENDOR_ID_PLX,
 					seekcard, dev_tel))) {
 			if (pci_enable_device(dev_tel))
 				return 1;


--
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