[PATCH 14/22] pwm: Fix dependencies for !HAS_IOMEM archs
From: Richard Weinberger
Date: Mon Jan 25 2016 - 17:27:21 EST
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
drivers/pwm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 8cf0dae..e83aa94 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -150,6 +150,7 @@ config PWM_FSL_FTM
tristate "Freescale FlexTimer Module (FTM) PWM support"
depends on HAS_IOMEM
depends on OF
+ depends on HAS_IOMEM
select REGMAP_MMIO
help
Generic FTM PWM framework driver for Freescale VF610 and
--
1.8.4.5