Commit a6720762 authored by Tom Rini's avatar Tom Rini
Browse files

watchdog.h: Move hw_watchdog_init prototype to end, guard

In commit abbab703

 we added a prototype for hw_watchdog_init, in a
Freescale i.MX watchdog driver.  We did not however guard it with an
__ASSEMBLY__ check and broke some platforms.  Move this to the end of
the file with other prototypes and guard it.
Signed-off-by: default avatarTom Rini <>
parent a17617d6
......@@ -35,7 +35,6 @@
* Hardware watchdog
void hw_watchdog_init(void);
#if defined(__ASSEMBLY__)
#define WATCHDOG_RESET bl hw_watchdog_reset
......@@ -91,4 +90,8 @@
void reset_4xx_watchdog(void);
/* Freescale i.MX */
#if defined(CONFIG_IMX_WATCHDOG) && !defined(__ASSEMBLY__)
void hw_watchdog_init(void);
#endif /* _WATCHDOG_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment