]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: davinci: Voicecodec needs regmap_mmio
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Jun 2014 21:24:13 +0000 (23:24 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 26 Jun 2014 12:33:58 +0000 (13:33 +0100)
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index e1f02c8290abd828517be2d7a3d1d8403446df3d..6cc4b6acc22ab3996ef1f828fb5a87626a9c8bde 100644 (file)
@@ -760,6 +760,7 @@ config MFD_SYSCON
 config MFD_DAVINCI_VOICECODEC
        tristate
        select MFD_CORE
+       select REGMAP_MMIO
 
 config MFD_TI_AM335X_TSCADC
        tristate "TI ADC / Touch Screen chip support"