summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-08-21 23:50:25 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:37:49 (GMT)
commit3338d67019795bd214211932045e17baff22d5f3 (patch)
treefa36ebb2659ae3ac923abb73df492ceb36f03c0e /drivers/pwm
parent65ec881ba13ee1d436dadd18a1051b99d78b6bde (diff)
downloadlinux-fsl-qoriq-3338d67019795bd214211932045e17baff22d5f3.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> --- This patch is pulled back from upstream: commit 00018a8ae5c552a2464e0df15437511ba4f56495 Change-Id: I07d149b0163d9f30137f8168c9f2b426e19c579e Reviewed-on: http://git.am.freescale.net:8181/21306 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Dongsheng Wang <dongsheng.wang@freescale.com> Reviewed-by: Chao Fu <B44548@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.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 ab88168..9c64341 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -65,6 +65,7 @@ config PWM_BFIN
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.