summaryrefslogtreecommitdiff
path: root/src/include/cper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cper.h')
-rw-r--r--src/include/cper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cper.h b/src/include/cper.h
index 16040417d3..60cced5852 100644
--- a/src/include/cper.h
+++ b/src/include/cper.h
@@ -386,7 +386,7 @@ typedef struct cper_ia32x64_ctx_x64state {
static inline cper_timestamp_t cper_timestamp(int precise)
{
cper_timestamp_t ts;
-#if IS_ENABLED(CONFIG_RTC)
+#if CONFIG(RTC)
struct rtc_time time;
rtc_get(&time);