]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa594e501071df4a6b7185436e280f089d33236a
treeb983adf8d292534136dd84efbce056fe163a2367
parent1d24937e093dada25ec395c30447c6d57e91d794
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