2020-03-07 13:21:35

by Anson Huang

[permalink] [raw]
Subject: [PATCH] pwm: imx27: Add COMPILE_TEST support for PWM_IMX27

Add COMPILE_TEST support to PWM_IMX27 driver for better compile
testing coverage.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 30190be..b4fc982 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -204,7 +204,7 @@ config PWM_IMX1

config PWM_IMX27
tristate "i.MX27 PWM support"
- depends on ARCH_MXC
+ depends on ARCH_MXC || COMPILE_TEST
help
Generic PWM framework driver for i.MX27 and later i.MX SoCs.

--
2.7.4