Browse Source

MIPS: Don't use module.h just to export symbols in asm/uasm.h

Putting module.h into widely used headers just bogs cpp down with reams of
stuff that isn't needed.  Here, we only need visibility to EXPORT_SYMBOL.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3450/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Paul Gortmaker 13 years ago
parent
commit
baab01b266
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/include/asm/uasm.h

+ 1 - 1
arch/mips/include/asm/uasm.h

@@ -11,7 +11,7 @@
 #include <linux/types.h>
 
 #ifdef CONFIG_EXPORT_UASM
-#include <linux/module.h>
+#include <linux/export.h>
 #define __uasminit
 #define __uasminitdata
 #define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym)