summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-08-22 03:50:25 +0400
committerThierry Reding <thierry.reding@gmail.com>2014-08-22 12:17:01 +0400
commit00018a8ae5c552a2464e0df15437511ba4f56495 (patch)
tree0dad7ec080ea4efdcae96e5258bb6a58fed2666b /drivers/pwm
parenta535e2e0debc2255fcf60a11d73fbb0534454cc3 (diff)
downloadlinux-00018a8ae5c552a2464e0df15437511ba4f56495.tar.xz
pwm: fsl-ftm: Select REGMAP_MMIO
Commit 42fa98a9c360 ("pwm: fsl-ftm: Convert to direct regmap API usage") introduced the following error when REGMAP_MMIO=n: drivers/built-in.o: In function `fsl_pwm_probe': >> pwm-fsl-ftm.c:(.text+0xd7d7): undefined reference to `devm_regmap_init_mmio_clk' Select select REGMAP_MMIO in order to fix this error. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.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 b800783800a3..e56e91e4fde6 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -101,6 +101,7 @@ config PWM_EP93XX
config PWM_FSL_FTM
tristate "Freescale FlexTimer Module (FTM) PWM support"
depends on OF
+ select REGMAP_MMIO
help
Generic FTM PWM framework driver for Freescale VF610 and
Layerscape LS-1 SoCs.