aboutsummaryrefslogtreecommitdiff
path: root/include/lmb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lmb.h')
-rw-r--r--include/lmb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h
index ab277ca..1476d78 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -68,7 +68,7 @@ struct lmb_region {
struct lmb {
struct lmb_region memory;
struct lmb_region reserved;
-#if !IS_ENABLED(CONFIG_LMB_USE_MAX_REGIONS)
+#if IS_ENABLED(CONFIG_LMB_MEMORY_REGIONS)
struct lmb_property memory_regions[CONFIG_LMB_MEMORY_REGIONS];
struct lmb_property reserved_regions[CONFIG_LMB_RESERVED_REGIONS];
#endif