Thread (12 messages) flat view 12 messages, 5 authors, 2012-09-11
STALE5074d

[PATCH] atmel-ssc: include linux/io.h for raw io

From: Nicolas Ferre <hidden>
Date: 2012-08-23 12:51:25

On 08/13/2012 09:59 PM, Joachim Eastwood :
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 <redacted>
Liam, Mark,

May I have your Acked-by for this patch, I plan to queue it with my
other at91-related fixes in arm-soc tree?

Thanks, best regards,
quoted hunk ↗ jump to hunk
---
 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;

-- 
Nicolas Ferre
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help