Skip to content

Commit

Permalink
mfd: davinci: Voicecodec needs regmap_mmio
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Lee Jones committed Jun 26, 2014
1 parent f41716d commit 9e88848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9e88848

Please sign in to comment.