aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/ahci-pci.c
diff options
context:
space:
mode:
authorPali Rohár2022-12-04 13:31:08 +0100
committerTom Rini2022-12-08 10:46:01 -0500
commitbd0ed9a2d251d68e6327656f3d8ef2f145396ee4 (patch)
tree17f8ae961ae278843325ccfcc43cee619528565d /drivers/ata/ahci-pci.c
parentaeea67f9a033ab6f3adca7b30bbd02579f72512f (diff)
ata: ahci-pci: Replace magic constant by macro
Replace 0x1b21 by macro PCI_VENDOR_ID_ASMEDIA with the same value. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ata/ahci-pci.c')
-rw-r--r--drivers/ata/ahci-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c
index 797e0d570e8..5356b9d83d3 100644
--- a/drivers/ata/ahci-pci.c
+++ b/drivers/ata/ahci-pci.c
@@ -37,7 +37,7 @@ U_BOOT_DRIVER(ahci_pci) = {
static struct pci_device_id ahci_pci_supported[] = {
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_SATA_AHCI, ~0) },
- { PCI_DEVICE(0x1b21, 0x0611) },
+ { PCI_DEVICE(PCI_VENDOR_ID_ASMEDIA, 0x0611) },
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6121) },
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6145) },
{},