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)
commit9e8884872dd4e26ec18413fe1f817bf81d023713
treeb983adf8d292534136dd84efbce056fe163a2367
parentf41716dc52b4a8887070318a41745e2edb612906
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>
drivers/mfd/Kconfig