]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pwm: fsl-ftm: Select REGMAP_MMIO
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 21 Aug 2014 23:50:25 +0000 (20:50 -0300)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 22 Aug 2014 08:17:01 +0000 (10:17 +0200)
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>
drivers/pwm/Kconfig

index b800783800a3a133895d0cf6dcb3498e48528516..e56e91e4fde6f2901981661afa8967ad84aaa998 100644 (file)
@@ -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.