summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-10-04 17:48:42 +0800
committerThierry Reding <thierry.reding@gmail.com>2014-10-20 09:39:44 +0200
commitdec02f98ae2e341a2e0bb25f27e84867e5f9f64a (patch)
tree395b82fb1cd45aba38eab69e4dde9c5ab744b200 /drivers/pwm
parente2e08970100db03bb84fd4a72f9c35bfc18d595a (diff)
downloadop-kernel-dev-dec02f98ae2e341a2e0bb25f27e84867e5f9f64a.zip
op-kernel-dev-dec02f98ae2e341a2e0bb25f27e84867e5f9f64a.tar.gz
pwm: Let PWM_CLPS711X depend on HAS_IOMEM
PWM_CLPS711X needs HAS_IOMEM, so depend on it, the related error (with allmodconfig under um): MODPOST 1205 modules ERROR: "devm_ioremap_resource" [drivers/pwm/pwm-clps711x.ko] undefined! ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined! Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 3865dfb..ef2dd2e 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -83,6 +83,7 @@ config PWM_BFIN
config PWM_CLPS711X
tristate "CLPS711X PWM support"
depends on ARCH_CLPS711X || COMPILE_TEST
+ depends on HAS_IOMEM
help
Generic PWM framework driver for Cirrus Logic CLPS711X.
OpenPOWER on IntegriCloud