* [PATCH v2] pwm: Kconfig: Select REGMAP_MMIO for PWM_FSL_FTM
@ 2014-08-21 23:50 Fabio Estevam
2014-08-22 8:19 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2014-08-21 23:50 UTC (permalink / raw)
To: thierry.reding; +Cc: Li.Xiubo, linux-pwm, Fabio Estevam
From: Fabio Estevam <fabio.estevam@freescale.com>
Commit 42fa98a9c3609c1 ("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>
---
Change since v1:
- Added Reported-by tag
drivers/pwm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index b800783..e56e91e 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.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] pwm: Kconfig: Select REGMAP_MMIO for PWM_FSL_FTM
2014-08-21 23:50 [PATCH v2] pwm: Kconfig: Select REGMAP_MMIO for PWM_FSL_FTM Fabio Estevam
@ 2014-08-22 8:19 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2014-08-22 8:19 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Li.Xiubo, linux-pwm, Fabio Estevam
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
On Thu, Aug 21, 2014 at 08:50:25PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Commit 42fa98a9c3609c1 ("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>
> ---
> Change since v1:
> - Added Reported-by tag
>
> drivers/pwm/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-22 8:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 23:50 [PATCH v2] pwm: Kconfig: Select REGMAP_MMIO for PWM_FSL_FTM Fabio Estevam
2014-08-22 8:19 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).