aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ide/ahci.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-09-02 18:42:40 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-09-09 13:20:22 -0400
commitaa3c41fb00fd6dc7cbfb172320edd76f61d14c94 (patch)
tree504ff024456d5290503f772e17ba0b7f6e63479a /include/hw/ide/ahci.h
parent8d34cfd8c847ba4c664400b225af5531cb2059b5 (diff)
downloadqemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.zip
qemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.tar.gz
qemu-aa3c41fb00fd6dc7cbfb172320edd76f61d14c94.tar.bz2
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/ide/ahci.h')
-rw-r--r--include/hw/ide/ahci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h
index 4cf6813..da3cddc 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);