X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fwatchdog.h;h=9273fa1e8090a4ae2262459a9c26b494e528edfc;hb=b491d9757d14415edcb1468ed896a704d0f0cfe7;hp=bd0a8d6b19fdef0a9d9467f1a25747ca02976cc1;hpb=dcdb61a084bd3840d0987a5d01ae506c11efca1b;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/watchdog.h b/include/watchdog.h index bd0a8d6..9273fa1 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -21,7 +21,8 @@ int init_func_watchdog_reset(void); #endif -#ifdef CONFIG_WATCHDOG +#if defined(CONFIG_SYS_GENERIC_BOARD) && \ + (defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG)) #define INIT_FUNC_WATCHDOG_INIT init_func_watchdog_init, #define INIT_FUNC_WATCHDOG_RESET init_func_watchdog_reset, #else