diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-27 22:20:11 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-27 22:20:11 -0400 |
commit | 54bb3a94b192be09feb85993b664ff118d6433d0 (patch) | |
tree | a0d782e482cf145d825c44de61e90c7067e719fc /drivers/ata/pdc_adma.c | |
parent | 3b9f6cb8a1ec791be79c6c7595fea922f12d1e64 (diff) | |
download | op-kernel-dev-54bb3a94b192be09feb85993b664ff118d6433d0.zip op-kernel-dev-54bb3a94b192be09feb85993b664ff118d6433d0.tar.gz |
[libata] Use new PCI_VDEVICE() macro to dramatically shorten ID lists
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r-- | drivers/ata/pdc_adma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c index 0e23ecb..81f3d21 100644 --- a/drivers/ata/pdc_adma.c +++ b/drivers/ata/pdc_adma.c @@ -192,8 +192,7 @@ static struct ata_port_info adma_port_info[] = { }; static const struct pci_device_id adma_ata_pci_tbl[] = { - { PCI_VENDOR_ID_PDC, 0x1841, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - board_1841_idx }, + { PCI_VDEVICE(PDC, 0x1841), board_1841_idx }, { } /* terminate list */ }; |