aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ich_descriptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ich_descriptors.h b/ich_descriptors.h
index 9a16031e..db4d28f0 100644
--- a/ich_descriptors.h
+++ b/ich_descriptors.h
@@ -568,7 +568,7 @@ struct ich_descriptors {
struct ich_layout {
struct flashrom_layout base;
- struct romentry entries[5];
+ struct romentry entries[MAX_NUM_FLREGS];
};
ssize_t ich_number_of_regions(enum ich_chipset cs, const struct ich_desc_content *content);