linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] atmel-ssc: include linux/io.h for raw io
@ 2012-08-13 19:59 Joachim Eastwood
  2012-08-23 12:44 ` Nicolas Ferre
  2012-08-23 12:51 ` Nicolas Ferre
  0 siblings, 2 replies; 12+ messages in thread
From: Joachim Eastwood @ 2012-08-13 19:59 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 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.7.11

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-09-11 12:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-13 19:59 [PATCH] atmel-ssc: include linux/io.h for raw io Joachim Eastwood
2012-08-23 12:44 ` Nicolas Ferre
2012-08-23 13:31   ` Arnd Bergmann
2012-08-23 12:51 ` Nicolas Ferre
2012-08-23 15:23   ` Mark Brown
2012-08-23 16:14     ` [PATCH] ASoC: " Nicolas Ferre
2012-08-23 16:46       ` Jean-Christophe PLAGNIOL-VILLARD
2012-08-25 20:25       ` Mark Brown
2012-08-27  8:01         ` Nicolas Ferre
2012-09-11 12:15           ` Nicolas Ferre
2012-09-11 12:38             ` Mark Brown
2012-08-27 16:23       ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).