diff mbox series

[4/5] watchdog: add COMPILE_TEST support for IMX_SC_WDT

Message ID 1583509356-8265-4-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Superseded
Headers show
Series [1/5] firmware: imx: add COMPILE_TEST support | expand

Commit Message

Anson Huang March 6, 2020, 3:42 p.m. UTC
Add COMPILE_TEST support to i.MX SC watchdog driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9ea2b43..6388154 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -712,7 +712,7 @@  config IMX2_WDT
 config IMX_SC_WDT
 	tristate "IMX SC Watchdog"
 	depends on HAVE_ARM_SMCCC
-	depends on IMX_SCU
+	depends on IMX_SCU || COMPILE_TEST
 	select WATCHDOG_CORE
 	help
 	  This is the driver for the system controller watchdog