summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKA/Modules')
-rw-r--r--dev/ZKA/Modules/AHCI/AHCI.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ZKA/Modules/AHCI/AHCI.hxx b/dev/ZKA/Modules/AHCI/AHCI.hxx
index 7d8c7cd5..abf31187 100644
--- a/dev/ZKA/Modules/AHCI/AHCI.hxx
+++ b/dev/ZKA/Modules/AHCI/AHCI.hxx
@@ -264,7 +264,7 @@ typedef struct HbaMem final
Kernel::UInt16 Resv0;
Kernel::UInt32 Resv2;
- HbaPort Ports[32]; // 1 ~ 32, 32 is the max ahci devices per controller.
+ HbaPort Ports[1]; // 1 ~ 32, 32 is the max ahci devices per controller.
} HbaMem;
typedef struct HbaCmdHeader final