[PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver

From: Greg KH
Date: Mon Jan 17 2005 - 17:03:45 EST


ChangeSet 1.2329.2.1, 2005/01/14 14:41:19-08:00, greg@xxxxxxxxx

[PATCH] I2C: add MODULE_DEVICE_TABLE to via686a.c driver

Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/