]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Thu, 26 Apr 2012 23:19:08 +0000 (00:19 +0100)
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 504d40aedfae670aff49644f1964e6a932b63ac6..440a21dab575705412805809c57ce31a893825b3 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)