diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 17:24:13 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-26 08:33:58 -0400 |
commit | 9e8884872dd4e26ec18413fe1f817bf81d023713 (patch) | |
tree | b983adf8d292534136dd84efbce056fe163a2367 /drivers/mfd/Kconfig | |
parent | f41716dc52b4a8887070318a41745e2edb612906 (diff) |
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index e1f02c8290ab..6cc4b6acc22a 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -760,6 +760,7 @@ config MFD_SYSCON | |||
760 | config MFD_DAVINCI_VOICECODEC | 760 | config MFD_DAVINCI_VOICECODEC |
761 | tristate | 761 | tristate |
762 | select MFD_CORE | 762 | select MFD_CORE |
763 | select REGMAP_MMIO | ||
763 | 764 | ||
764 | config MFD_TI_AM335X_TSCADC | 765 | config MFD_TI_AM335X_TSCADC |
765 | tristate "TI ADC / Touch Screen chip support" | 766 | tristate "TI ADC / Touch Screen chip support" |