summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2014-02-26 14:31:46 +0100
committerMark Brown <broonie@linaro.org>2014-02-26 15:47:13 +0100
commita6cf8f7b53fff6b5e3463793aa9885e133e7ef86 (patch)
tree2516666a5eab965cbb1fc6bad85bd4d0e5a79eb6 /sound/soc/intel
parentASoC: Intel: byt-rt5640: Use init time DAI format (diff)
downloadlinux-a6cf8f7b53fff6b5e3463793aa9885e133e7ef86.tar.xz
linux-a6cf8f7b53fff6b5e3463793aa9885e133e7ef86.zip
ASoC: Intel: Baytrail: Fix implicit declaration of function 'memcpy_fromio'
Some kernel configurations can cause following build error: sound/soc/intel/sst-baytrail-ipc.c: In function ‘sst_byt_get_dsp_position’: sound/soc/intel/sst-baytrail-ipc.c:744:2: error: implicit declaration of function ‘memcpy_fromio’ [-Werror=implicit-function-declaration] memcpy_fromio(&fw_tstamp, ^ cc1: some warnings being treated as errors Fix this by including <linux/io.h> explicitly. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/sst-baytrail-ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-baytrail-ipc.c b/sound/soc/intel/sst-baytrail-ipc.c
index 8c91a68b90bc..c12e194bbc6b 100644
--- a/sound/soc/intel/sst-baytrail-ipc.c
+++ b/sound/soc/intel/sst-baytrail-ipc.c
@@ -26,6 +26,7 @@
#include <linux/platform_device.h>
#include <linux/kthread.h>
#include <linux/firmware.h>
+#include <linux/io.h>
#include <asm/div64.h>
#include "sst-baytrail-ipc.h"