unicore32: EXPORT_SYMBOL needs export.h
authorAxel Lin <axel.lin@gmail.com>
Tue, 18 Oct 2011 08:51:46 +0000 (16:51 +0800)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:06 +0000 (19:31 -0400)
Include export.h to fix below warning:

  CC      arch/unicore32/mm/init.o
arch/unicore32/mm/init.c:227: warning: data definition has no type or storage class
arch/unicore32/mm/init.c:227: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/unicore32/mm/init.c:227: warning: parameter names (without types) in function declaration

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/unicore32/mm/init.c

index 2d3e7112d2a3cbce8d778770e35754ac5a34e753..3b379cddbc641cced14c4472a4d7838852a47935 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/memblock.h>
 #include <linux/sort.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 
 #include <asm/sections.h>
 #include <asm/setup.h>