diff options
author | Eduardo Habkost | 2020-09-03 00:42:40 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-09-09 19:20:22 +0200 |
commit | aa3c41fb00fd6dc7cbfb172320edd76f61d14c94 (patch) | |
tree | 504ff024456d5290503f772e17ba0b7f6e63479a /include/hw | |
parent | vmgenid: Rename VMGENID_DEVICE to TYPE_VMGENID (diff) | |
download | qemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.tar.gz qemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.tar.xz qemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.zip |
ahci: Rename ICH_AHCI to ICH9_AHCI
Make the type checking macro name consistent with the TYPE_*
constant.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200902224311.1321159-33-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ide/ahci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h index 4cf6813d80..da3cddcc65 100644 --- a/include/hw/ide/ahci.h +++ b/include/hw/ide/ahci.h @@ -54,7 +54,7 @@ typedef struct AHCIState { typedef struct AHCIPCIState AHCIPCIState; #define TYPE_ICH9_AHCI "ich9-ahci" -DECLARE_INSTANCE_CHECKER(AHCIPCIState, ICH_AHCI, +DECLARE_INSTANCE_CHECKER(AHCIPCIState, ICH9_AHCI, TYPE_ICH9_AHCI) int32_t ahci_get_num_ports(PCIDevice *dev); |