ASoC: rt5677: fix rt5677 spi driver build
authorBen Zhang <benzh@chromium.org>
Tue, 21 Oct 2014 03:30:13 +0000 (20:30 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 23 Oct 2014 10:06:06 +0000 (11:06 +0100)
commite29bee098ea1cc9b8537628f3c1cdf60ead83514
tree6c023092cf08552db50681167c471fb9d542d8e1
parent2d27deb40db74c751c991e96ca91d675f966a0c5
ASoC: rt5677: fix rt5677 spi driver build

Create a separate module for rt5677 spi driver. Without
this patch, the build fails due to multiple defs of
'init_module' and 'cleanup_module'. module_spi_driver()
defines its own module, so it can't be part of the rt5677
module.

Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/rt5677-spi.c