ASoC: samsung: WM8994 depends on MFD_WM8994
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Oct 2011 14:35:46 +0000 (16:35 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 3 Oct 2011 14:39:58 +0000 (15:39 +0100)
commit61e49bf1941050e85035e139c6f9eace60c72e70
tree6edececfac0222d5b0c164b81af0154d3e91372c
parent9b5999b1bc74aea2a515701f937d7ad3e17f10e4
ASoC: samsung: WM8994 depends on MFD_WM8994

Any driver that selects SND_SOC_WM8994 should also make sure that
MFD_WM8994 is set, since the codec relies on the mfd code:

  sound/built-in.o: In function `wm8994_read':
  last.c:(.text+0x20160): undefined reference to `wm8994_reg_read'
  sound/built-in.o: In function `wm8994_write':
  last.c:(.text+0x20e68): undefined reference to `wm8994_reg_write'

This solves the problem by selecting the MFD driver directly
and adding extra 'depends on' statements to make sure that we
respect the dependencies of that driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/Kconfig