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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
c7cb3a1dd5
commit
9f2919e9b4
@ -328,7 +328,8 @@ config PWM_MXS
|
|||||||
|
|
||||||
config PWM_OMAP_DMTIMER
|
config PWM_OMAP_DMTIMER
|
||||||
tristate "OMAP Dual-Mode Timer PWM support"
|
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
|
help
|
||||||
Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
|
Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user