All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: lantiq: Fix compile error in arch/mips/lantiq/xway/dma.c
@ 2011-11-10 15:26 John Crispin
  2011-11-10 15:42 ` John Crispin
  0 siblings, 1 reply; 2+ messages in thread
From: John Crispin @ 2011-11-10 15:26 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: John Crispin, linux-mips

include/export.h needs to be included by arch/mips/lantiq/xway/dma.c.
Without this include we see the following errors.

arch/mips/lantiq/xway/dma.c:76:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:76:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:76:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:88:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:88:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:88:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:100:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:100:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:100:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:113:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:113:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:113:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:126:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:126:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:126:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:164:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:164:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:164:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:179:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:179:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:179:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:190:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:190:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:190:1: error: parameter names (without types) in function declaration
arch/mips/lantiq/xway/dma.c:215:1: error: data definition has no type or storage class
arch/mips/lantiq/xway/dma.c:215:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/mips/lantiq/xway/dma.c:215:1: error: parameter names (without types) in function declaration

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org

---
 arch/mips/lantiq/xway/dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index 4278a45..cbb6ae5 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -19,6 +19,7 @@
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 
 #include <lantiq_soc.h>
 #include <xway_dma.h>
-- 
1.7.5.4

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

end of thread, other threads:[~2011-11-10 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-10 15:26 [PATCH] MIPS: lantiq: Fix compile error in arch/mips/lantiq/xway/dma.c John Crispin
2011-11-10 15:42 ` John Crispin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.