aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ide/ahci.h
diff options
context:
space:
mode:
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);