diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-09-29 19:32:17 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-29 20:12:05 +0400 |
commit | 19926c6de0c37f486f00b7531aec4ba5a09451ae (patch) | |
tree | 5b3e7e0abf1ec0c671bf4346694f6f16277d55f4 /mm | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-19926c6de0c37f486f00b7531aec4ba5a09451ae.tar.xz |
ASoC: davinci: vcif must be a module if SND_DAVINCI_SOC is
It is possible to configure a kernel with SND_DAVINCI_SOC=m and
SND_DM365_VOICE_CODEC=y, which results in a link error:
sound/built-in.o: In function `davinci_vcif_probe':
sound/soc/davinci/davinci-vcif.c:223: undefined reference to `davinci_soc_platform_register'
The best way to avoid this is to make SND_DM365_VOICE_CODEC
a tristate option that depends on SND_DAVINCI_SOC, so it
can only be a module or disabled when the base driver is
a loadable module
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions