thermal: imx_scu_thermal: prevent boot hang with zero pdata
[oweals/u-boot.git] / include / watchdog.h
index 3a357de903f1449dbfd51be3ede273673bbf78bd..a4a4e8e614e4af30f75b651d62e7dd3f9d4bff2d 100644 (file)
@@ -77,7 +77,7 @@ int init_func_watchdog_reset(void);
  * Prototypes from $(CPU)/cpu.c.
  */
 
-#if defined(CONFIG_HW_WATCHDOG) && !defined(__ASSEMBLY__)
+#if (defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)) && !defined(__ASSEMBLY__)
        void hw_watchdog_init(void);
 #endif