]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Intel: Fix build for sst-dsp.c on PPC architecture
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Wed, 19 Feb 2014 16:45:57 +0000 (16:45 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 19 Feb 2014 16:54:45 +0000 (01:54 +0900)
commitafd954900af84bf66a0dd72b2648a2c15fb68f25
treef688aa44d0bf68834f3a41bb59cac56fb204e97f
parent6dda27cbbd1d2d2ac4833236f5fd8a81c14d200a
ASoC: Intel: Fix build for sst-dsp.c on PPC architecture

Disable build on non X86 architectures except for compile testing. This fixes
the following build errors on PPC and adds an option for testing the build on other
architectures as suggested by Mark Brown :-

sound/soc/intel/sst-dsp.c: In function 'sst_dsp_outbox_write':
sound/soc/intel/sst-dsp.c:218:2: error: implicit declaration of function 'memcpy_toio' [-Werror=implicit-function-declaration]
  memcpy_toio(sst->mailbox.out_base, message, bytes);
  ^
sound/soc/intel/sst-dsp.c: In function 'sst_dsp_outbox_read':
sound/soc/intel/sst-dsp.c:231:2: error: implicit declaration of function 'memcpy_fromio' [-Werror=implicit-function-declaration]
  memcpy_fromio(message, sst->mailbox.out_base, bytes);
  ^

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/Kconfig
sound/soc/intel/sst-dsp.c