Commit dec02f98 authored by Chen Gang's avatar Chen Gang Committed by Thierry Reding

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: default avatarChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent e2e08970
...@@ -83,6 +83,7 @@ config PWM_BFIN ...@@ -83,6 +83,7 @@ config PWM_BFIN
config PWM_CLPS711X config PWM_CLPS711X
tristate "CLPS711X PWM support" tristate "CLPS711X PWM support"
depends on ARCH_CLPS711X || COMPILE_TEST depends on ARCH_CLPS711X || COMPILE_TEST
depends on HAS_IOMEM
help help
Generic PWM framework driver for Cirrus Logic CLPS711X. Generic PWM framework driver for Cirrus Logic CLPS711X.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment