ASoC: Fix build of OMAP sound drivers
authorOlof Johansson <olof@lixom.net>
Thu, 10 Dec 2009 17:15:55 +0000 (11:15 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Dec 2009 19:36:38 +0000 (19:36 +0000)
commit761c9d45d14e0afa3c0b8eb84b4075602e50533b
treeb42d7ef74b1347215b5f141a53e541851242b73f
parent370066e2b13bafa8e742673f658e617b6ed143a4
ASoC: Fix build of OMAP sound drivers

There are build errors when building for some of the omap2/3 boards without
enabling sound:

sound/built-in.o:(.data+0x43bc): undefined reference to `soc_codec_dev_tlv320aic23'
sound/built-in.o:(.data+0x43cc): undefined reference to `tlv320aic23_dai'

Confused me quite a bit since the drivers that had references to the
codec weren't enabled. Turns out the Makefile was using the wrong
config option to enable them. Patch below.

Reported-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/Makefile