ASoC: OMAP: fix OMAP1 compilation problem
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Tue, 2 Nov 2010 14:50:32 +0000 (15:50 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Nov 2010 14:11:50 +0000 (14:11 +0000)
commit233538501f707b0176f09af7039fec1e3fcac6e7
tree5699b97858186458abe96c07d5ed02df5e184f08
parent8f987768eb99631374f4ab0bb19cd062baf1397d
ASoC: OMAP: fix OMAP1 compilation problem

In the new code introduced with commit cf4c87abe238ec17cd0255b4e21abd949d7f811e,
"OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c",
the way omap1 build is supposed to bypass omap2 specific functionality doesn't
optimize out all omap2 specific stuff. This breaks linking phase for omap1
machines, giving "undefined reference to `omap2_mcbsp1_mux_clkr_src'"
and "undefined reference to `omap2_mcbsp1_mux_fsr_src'" errors. Fix it.

Created and tested against linux-2.6.37-rc1.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/omap-mcbsp.c