Merge branch '2019-05-19-master-imports'
[platform/kernel/u-boot.git] / lib / time.c
index 3bf678a..9c55da6 100644 (file)
@@ -56,7 +56,7 @@ ulong timer_get_boot_us(void)
 extern unsigned long __weak timer_read_counter(void);
 #endif
 
-#ifdef CONFIG_TIMER
+#if CONFIG_IS_ENABLED(TIMER)
 ulong notrace get_tbclk(void)
 {
        if (!gd->timer) {