Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e888487 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Lee Jones
Browse files

mfd: davinci: Voicecodec needs regmap_mmio



Without REGMAP_MMIO, building that driver results in a link error:

drivers/built-in.o: In function `davinci_vc_probe':
:(.init.text+0x3c1c): undefined reference to `devm_regmap_init_mmio_clk'

This adds a Kconfig 'select' statement as the usual way to ensure
that REGMAP_MMIO is enabled.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent f41716dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -760,6 +760,7 @@ config MFD_SYSCON
config MFD_DAVINCI_VOICECODEC
config MFD_DAVINCI_VOICECODEC
	tristate
	tristate
	select MFD_CORE
	select MFD_CORE
	select REGMAP_MMIO


config MFD_TI_AM335X_TSCADC
config MFD_TI_AM335X_TSCADC
	tristate "TI ADC / Touch Screen chip support"
	tristate "TI ADC / Touch Screen chip support"