mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
pwm: add HAS_IOMEM dependency to PWM_FSL_FTM
Ran into this on UML: drivers/built-in.o: In function `fsl_pwm_probe': linux/drivers/pwm/pwm-fsl-ftm.c:436: undefined reference to `devm_ioremap_resource' collect2: error: ld returned 1 exit status devm_ioremap_resource() is defined only when HAS_IOMEM is selected. Signed-off-by: Vegard Nossum <[email protected]> Cc: Xiubo Li <[email protected]> Cc: Alison Wang <[email protected]> Cc: Jingchang Lu <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Yuan Yao <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
6604c6556d
commit
36d5be4bc9
1 changed files with 1 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ config PWM_EP93XX
|
|||
|
||||
config PWM_FSL_FTM
|
||||
tristate "Freescale FlexTimer Module (FTM) PWM support"
|
||||
depends on HAS_IOMEM
|
||||
depends on OF
|
||||
select REGMAP_MMIO
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in a new issue