X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fwdt.h;h=5bcff24ab310020a19b053e22e85db7345a62b64;hb=1444998230824ac9e95c14073a00e99e59b78ed8;hp=aa77d3e9b40368af889b67e81fa411d9c66d42e4;hpb=504bf790da08db9b4a443566cf6ef577f9c7996a;p=oweals%2Fu-boot.git diff --git a/include/wdt.h b/include/wdt.h index aa77d3e9b4..5bcff24ab3 100644 --- a/include/wdt.h +++ b/include/wdt.h @@ -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