summaryrefslogtreecommitdiff
path: root/include/fan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fan.h')
-rw-r--r--include/fan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fan.h b/include/fan.h
index 6b0067cf1c..573cc89aba 100644
--- a/include/fan.h
+++ b/include/fan.h
@@ -20,7 +20,7 @@ enum fan_channel {
FAN_CH_COUNT
};
-#define CONFIG_FANS FAN_CH_COUNT
+BUILD_ASSERT(FAN_CH_COUNT == CONFIG_PLATFORM_EC_NUM_FANS);
#endif /* CONFIG_PLATFORM_EC_FAN */
#endif /* CONFIG_ZEPHYR */