From: Simon Horman on
The use of pci_find_device() is deprecated.

Signed-off-by: Simon Horman <horms(a)verge.net.au>

---

Compile tested only.

Alternatively, if pci_find_device() really needs to be used
then this code needs to depend on PCI_LEGACY.

Index: gregkh-2.6/drivers/staging/dt3155/dt3155_drv.c
===================================================================
--- gregkh-2.6.orig/drivers/staging/dt3155/dt3155_drv.c 2009-12-23 18:41:46.000000000 +1100
+++ gregkh-2.6/drivers/staging/dt3155/dt3155_drv.c 2009-12-23 18:42:29.000000000 +1100
@@ -963,7 +963,7 @@ static int find_PCI (void)
unsigned long base;
unsigned char irq;

- while ((pci_dev = pci_find_device
+ while ((pci_dev = pci_get_device
(DT3155_VENDORID, DT3155_DEVICEID, pci_dev)) != NULL)
{
pci_index ++;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/