os/arch/arm/src/imxrt: Move up_disable_watchdog() definition
This patch moves the up_disable_watchdog() outside
CONFIG_WATCHDOG_FOR_IRQ scope for visibility to other modules
only having CONFIG_WATCHDOG enabled.
@@ -382,6 +382,7 @@ void up_wdog_keepalive(void)
{
imxrt_wdog_refresh(WDOG1);
}
+#endif
/****************************************************************************
* Name: up_watchdog_disable
@@ -397,4 +398,3 @@ void up_watchdog_disable(void)
{
imxrt_wdog_disable_all();
}
-#endif
