diff options
Diffstat (limited to 'patches.at91/0051-ASoC-atmel-ssc-include-linux-io.h-for-raw-io.patch')
-rw-r--r-- | patches.at91/0051-ASoC-atmel-ssc-include-linux-io.h-for-raw-io.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/patches.at91/0051-ASoC-atmel-ssc-include-linux-io.h-for-raw-io.patch b/patches.at91/0051-ASoC-atmel-ssc-include-linux-io.h-for-raw-io.patch new file mode 100644 index 00000000000000..62d3febecc41ef --- /dev/null +++ b/patches.at91/0051-ASoC-atmel-ssc-include-linux-io.h-for-raw-io.patch @@ -0,0 +1,39 @@ +From 79625ccc49e70d4cc8bb3361c98fd5ff3ad40157 Mon Sep 17 00:00:00 2001 +From: Joachim Eastwood <manabian@gmail.com> +Date: Thu, 23 Aug 2012 18:14:54 +0200 +Subject: ASoC: atmel-ssc: include linux/io.h for raw io + +commit b969afc8b719bbe3f0842a694e6bf5e87f08868f upstream. + +Include linux/io.h for raw io operations in atmel-scc header. + +This fixes the following build error: + CC [M] sound/soc/atmel/atmel_ssc_dai.o +sound/soc/atmel/atmel_ssc_dai.c: In function 'atmel_ssc_interrupt': +sound/soc/atmel/atmel_ssc_dai.c:171: error: implicit declaration of function '__raw_readl' +sound/soc/atmel/atmel_ssc_dai.c: In function 'atmel_ssc_shutdown': +sound/soc/atmel/atmel_ssc_dai.c:249: error: implicit declaration of function '__raw_writel' + +Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> +Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> +Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> +Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> +--- + include/linux/atmel-ssc.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/linux/atmel-ssc.h b/include/linux/atmel-ssc.h +index 0602339..4eb3175 100644 +--- a/include/linux/atmel-ssc.h ++++ b/include/linux/atmel-ssc.h +@@ -3,6 +3,7 @@ + + #include <linux/platform_device.h> + #include <linux/list.h> ++#include <linux/io.h> + + struct ssc_device { + struct list_head list; +-- +1.8.0.197.g5a90748 + |