summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-07-11 14:02:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-11 16:04:42 -0700
commitcea7c5879fe6a6d98f2d604ef4f175cc25058c96 (patch)
tree7094230ed0f176da3c34979d56d678c6f60d7217
parent7a63091288f3a9063b044aaefaad5e75e4ca0f60 (diff)
downloadop-kernel-dev-cea7c5879fe6a6d98f2d604ef4f175cc25058c96.zip
op-kernel-dev-cea7c5879fe6a6d98f2d604ef4f175cc25058c96.tar.gz
mn10300: kernel/traps.c needs <linux/export.h>
Fix the warning: arch/mn10300/kernel/traps.c:304:1: warning: data definition has no type or storage class [enabled by default] arch/mn10300/kernel/traps.c:304:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] arch/mn10300/kernel/traps.c:304:1: warning: parameter names (without types) in function declaration [enabled by default] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: David Howells <dhowells@redhat.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/mn10300/kernel/traps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/kernel/traps.c b/arch/mn10300/kernel/traps.c
index 94a9c6d..b900e5a 100644
--- a/arch/mn10300/kernel/traps.c
+++ b/arch/mn10300/kernel/traps.c
@@ -26,6 +26,7 @@
#include <linux/kdebug.h>
#include <linux/bug.h>
#include <linux/irq.h>
+#include <linux/export.h>
#include <asm/processor.h>
#include <linux/uaccess.h>
#include <asm/io.h>
OpenPOWER on IntegriCloud