MIPS: Include export.h in for EXPORT_SYMBOL in ops-loongson2.c
authorMatt Turner <mattst88@gmail.com>
Sat, 5 May 2012 22:22:55 +0000 (18:22 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:47:01 +0000 (17:47 +0200)
Fixes
warning: data definition has no type or storage class [enabled by default]
warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
warning: parameter names (without types) in function declaration [enabled by default]

Signed-off-by: Matt Turner <mattst88@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3746/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/ops-loongson2.c

index d657ee0..afd2211 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/pci.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/export.h>
 
 #include <loongson.h>