diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/elog/boot_count.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/boot_count.c b/src/drivers/elog/boot_count.c index 0b5c402739b2..e853e36e7b49 100644 --- a/src/drivers/elog/boot_count.c +++ b/src/drivers/elog/boot_count.c @@ -34,10 +34,10 @@ # include "option_table.h" # define BOOT_COUNT_CMOS_OFFSET (CMOS_VSTART_boot_count_offset >> 3) #else -# if defined(CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET) +# if defined(CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET) && CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET # define BOOT_COUNT_CMOS_OFFSET CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET # else -# error "Must define CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET" +# error "Must configure CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET" # endif #endif |