MIPS: Don't use module.h just to export symbols in asm/uasm.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 29 Feb 2012 00:24:48 +0000 (19:24 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:48:51 +0000 (17:48 +0200)
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>
arch/mips/include/asm/uasm.h

index 504d40a..440a21d 100644 (file)
@@ -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)