diff options
author | Pali Rohár <pali@kernel.org> | 2022-12-04 13:31:08 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-08 10:46:01 -0500 |
commit | bd0ed9a2d251d68e6327656f3d8ef2f145396ee4 (patch) | |
tree | 17f8ae961ae278843325ccfcc43cee619528565d /drivers | |
parent | aeea67f9a033ab6f3adca7b30bbd02579f72512f (diff) | |
download | u-boot-bd0ed9a2d251d68e6327656f3d8ef2f145396ee4.tar.gz u-boot-bd0ed9a2d251d68e6327656f3d8ef2f145396ee4.tar.bz2 u-boot-bd0ed9a2d251d68e6327656f3d8ef2f145396ee4.zip |
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')
-rw-r--r-- | drivers/ata/ahci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c index 797e0d570e..5356b9d83d 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) }, {}, |