summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/watchdog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/watchdog.h b/include/watchdog.h
index 328a30b..8c92a0b 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -35,7 +35,6 @@
* Hardware watchdog
*/
#ifdef CONFIG_HW_WATCHDOG
- void hw_watchdog_init(void);
#if defined(__ASSEMBLY__)
#define WATCHDOG_RESET bl hw_watchdog_reset
#else
@@ -91,4 +90,8 @@
void reset_4xx_watchdog(void);
#endif
+/* Freescale i.MX */
+#if defined(CONFIG_IMX_WATCHDOG) && !defined(__ASSEMBLY__)
+ void hw_watchdog_init(void);
+#endif
#endif /* _WATCHDOG_H_ */