ide: use PCI_VDEVICE() macro
[deliverable/linux.git] / drivers / ide / pci / triflex.c
index 921c41006df9c873a004b8447ec0b18f6a5ddabc..9bedeae30c4ae8fcd5a57c0c8db52ea96a28cada 100644 (file)
@@ -129,9 +129,8 @@ static int __devinit triflex_init_one(struct pci_dev *dev,
        return ide_setup_pci_device(dev, &triflex_device);
 }
 
-static struct pci_device_id triflex_pci_tbl[] = {
-       { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE,
-         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+static const struct pci_device_id triflex_pci_tbl[] = {
+       { PCI_VDEVICE(COMPAQ, PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE), 0 },
        { 0, },
 };
 MODULE_DEVICE_TABLE(pci, triflex_pci_tbl);
This page took 0.026473 seconds and 5 git commands to generate.