Skip to contentSkip to conversation

mips: include export.h in for EXPORT_SYMBOL in ops-loongson2.c

PATCH New Matt Turner 1 participant 1 message May 5, 2012 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: include export.h in for EXPORT_SYMBOL in ops-loongson2.c

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]

---
 arch/mips/pci/ops-loongson2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/pci/ops-loongson2.c +1 -0
index d657ee0..afd2211 100644
@@ -15,6 +15,7 @@
 #include <linux/pci.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/export.h>
 
 #include <loongson.h>
 
Signature · 1 line
1.7.3.4