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