summary refs log tree commit diff stats
path: root/include/hw/pci-host/i440fx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/pci-host/i440fx.h')
-rw-r--r--include/hw/pci-host/i440fx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci-host/i440fx.h b/include/hw/pci-host/i440fx.h
index 6c16eaf876..24fd53942c 100644
--- a/include/hw/pci-host/i440fx.h
+++ b/include/hw/pci-host/i440fx.h
@@ -29,7 +29,7 @@ struct PCII440FXState {
     MemoryRegion *system_memory;
     MemoryRegion *pci_address_space;
     MemoryRegion *ram_memory;
-    PAMMemoryRegion pam_regions[13];
+    PAMMemoryRegion pam_regions[PAM_REGIONS_COUNT];
     MemoryRegion smram_region;
     MemoryRegion smram, low_smram;
 };