fdt: Remove duplicate code
[oweals/u-boot.git] / lib / time.c
index 3bf678a23278db79e523e5fe1cb9db933d19ecd3..9c55da6f1b3914adde3bf67107896a962bc29d44 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) {