Skip to content

Commit

Permalink
pwm: Let PWM_CLPS711X depend on HAS_IOMEM
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
Chen-Gang authored and thierryreding committed Oct 20, 2014
1 parent e2e0897 commit dec02f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit dec02f9

Please sign in to comment.