[PATCH 08/19] drivers/misc: Use PCI_VDEVICE

From: Joe Perches
Date: Thu Jun 25 2009 - 01:15:10 EST


Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/misc/tifm_7xx1.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c
index a6ef182..de74445 100644
--- a/drivers/misc/tifm_7xx1.c
+++ b/drivers/misc/tifm_7xx1.c
@@ -415,12 +415,9 @@ static void tifm_7xx1_remove(struct pci_dev *dev)
}

static struct pci_device_id tifm_7xx1_pci_tbl [] = {
- { PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_XX21_XX11_FM, PCI_ANY_ID,
- PCI_ANY_ID, 0, 0, 0 }, /* xx21 - the one I have */
- { PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_XX12_FM, PCI_ANY_ID,
- PCI_ANY_ID, 0, 0, 0 },
- { PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_XX20_FM, PCI_ANY_ID,
- PCI_ANY_ID, 0, 0, 0 },
+ { PCI_VDEVICE(TI, PCI_DEVICE_ID_TI_XX21_XX11_FM), 0 }, /* xx21 - the one I have */
+ { PCI_VDEVICE(TI, PCI_DEVICE_ID_TI_XX12_FM), 0 },
+ { PCI_VDEVICE(TI, PCI_DEVICE_ID_TI_XX20_FM), 0 },
{ }
};

--
1.6.3.1.10.g659a0.dirty

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