Browse Source

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]

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>
Matt Turner 13 years ago
parent
commit
daf76dbbb0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/mips/pci/ops-loongson2.c

+ 1 - 0
arch/mips/pci/ops-loongson2.c

@@ -15,6 +15,7 @@
 #include <linux/pci.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/export.h>
 
 #include <loongson.h>