summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sx4.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-27 22:20:11 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-27 22:20:11 -0400
commit54bb3a94b192be09feb85993b664ff118d6433d0 (patch)
treea0d782e482cf145d825c44de61e90c7067e719fc /drivers/ata/sata_sx4.c
parent3b9f6cb8a1ec791be79c6c7595fea922f12d1e64 (diff)
downloadlinux-54bb3a94b192be09feb85993b664ff118d6433d0.tar.bz2
[libata] Use new PCI_VDEVICE() macro to dramatically shorten ID lists
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_sx4.c')
-rw-r--r--drivers/ata/sata_sx4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c
index 091867e10ea3..2b3d44bf495f 100644
--- a/drivers/ata/sata_sx4.c
+++ b/drivers/ata/sata_sx4.c
@@ -230,8 +230,8 @@ static const struct ata_port_info pdc_port_info[] = {
};
static const struct pci_device_id pdc_sata_pci_tbl[] = {
- { PCI_VENDOR_ID_PROMISE, 0x6622, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
- board_20621 },
+ { PCI_VDEVICE(PROMISE, 0x6622), board_20621 },
+
{ } /* terminate list */
};