ASoC: rk3036: fix missing dependency on REGMAP_MMIO
authorAntonio Ospite <ao2@ao2.it>
Mon, 25 Jan 2016 17:23:30 +0000 (18:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jan 2016 13:41:08 +0000 (13:41 +0000)
When SND_SOC_INNO_RK3036 is enabled but REGMAP_MMIO is not, the MODPOST
step fails with this error:

  ...
  Kernel: arch/x86/boot/bzImage is ready  (#3)
    Building modules, stage 2.
    MODPOST 3203 modules
  ERROR: "__devm_regmap_init_mmio_clk" [sound/soc/codecs/snd-soc-inno-rk3036.ko] undefined!

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 50693c867e71d06a2b6ccebf0d2f303c1ef9a0f5..1f7eaa91908817336478e067122f6f2282419fd1 100644 (file)
@@ -497,6 +497,7 @@ config SND_SOC_ICS43432
 
 config SND_SOC_INNO_RK3036
        tristate "Inno codec driver for RK3036 SoC"
+       select REGMAP_MMIO
 
 config SND_SOC_ISABELLE
         tristate