From: Uwe Kleine-König Date: Mon, 11 Nov 2019 09:03:57 +0000 (+0100) Subject: pwm: omap-dmtimer: Allow compiling with COMPILE_TEST X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9f2919e9b40ec480609ee1f45567531de06ab3fe;p=linux.git pwm: omap-dmtimer: Allow compiling with COMPILE_TEST The dependency on OMAP_DM_TIMER is only a runtime dependency. Also OMAP_DM_TIMER cannot be enabled without ARCH_OMAP being enabled. Signed-off-by: Uwe Kleine-König Signed-off-by: Thierry Reding --- diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index c865d688f6b4e..5d8dcccd26cad 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -328,7 +328,8 @@ config PWM_MXS config PWM_OMAP_DMTIMER tristate "OMAP Dual-Mode Timer PWM support" - depends on OF && ARCH_OMAP && OMAP_DM_TIMER + depends on OF + depends on OMAP_DM_TIMER || COMPILE_TEST help Generic PWM framework driver for OMAP Dual-Mode Timer PWM output