diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-02-26 15:31:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-26 23:47:13 +0900 |
commit | a6cf8f7b53fff6b5e3463793aa9885e133e7ef86 (patch) | |
tree | 2516666a5eab965cbb1fc6bad85bd4d0e5a79eb6 /sound/soc | |
parent | 95c40d4b0eb47d82a8841364627a35ad6fad720b (diff) |
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')
-rw-r--r-- | sound/soc/intel/sst-baytrail-ipc.c | 1 |
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" |