Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Subject | [PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver | Date | Mon, 17 Jan 2005 13:46:35 -0800 | From | Greg KH <> |
| |
ChangeSet 1.2329.2.1, 2005/01/14 14:41:19-08:00, greg@kroah.com
[PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/i2c/chips/via686a.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-)
diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c --- a/drivers/i2c/chips/via686a.c 2005-01-17 13:21:21 -08:00 +++ b/drivers/i2c/chips/via686a.c 2005-01-17 13:21:21 -08:00 @@ -786,14 +786,11 @@ } static struct pci_device_id via686a_pci_ids[] = { - { - .vendor = PCI_VENDOR_ID_VIA, - .device = PCI_DEVICE_ID_VIA_82C686_4, - .subvendor = PCI_ANY_ID, - .subdevice = PCI_ANY_ID, - }, + { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4) }, { 0, } }; + +MODULE_DEVICE_TABLE(pci, via686a_pci_ids); static int __devinit via686a_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |