Merge branch '2019-07-26-ti-imports'
[oweals/u-boot.git] / include / wdt.h
index aa77d3e9b40368af889b67e81fa411d9c66d42e4..5bcff24ab310020a19b053e22e85db7345a62b64 100644 (file)
@@ -106,7 +106,7 @@ struct wdt_ops {
        int (*expire_now)(struct udevice *dev, ulong flags);
 };
 
-#if defined(CONFIG_WDT)
+#if CONFIG_IS_ENABLED(WDT)
 #ifndef CONFIG_WATCHDOG_TIMEOUT_MSECS
 #define CONFIG_WATCHDOG_TIMEOUT_MSECS  (60 * 1000)
 #endif