]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
openrisc: Switch to use export.h instead of module.h
authorStafford Horne <shorne@gmail.com>
Tue, 14 Mar 2017 13:54:22 +0000 (22:54 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 15 May 2017 13:02:33 +0000 (22:02 +0900)
Reduce dependencies on module.h since all we need here is export.h
for EXPORT_SYMBOL.

Fixes: f50169324df4 ("module.h: split out the EXPORT_SYMBOL into export.h")
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/or32_ksyms.c
arch/openrisc/kernel/process.c
arch/openrisc/lib/delay.c

index ee3e604959e15c514bc91eb65118d8d04ea20b59..d7260fdb03514abd466532085f4838dd91214a97 100644 (file)
@@ -15,7 +15,7 @@
  *      2 of the License, or (at your option) any later version.
  */
 
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/elfcore.h>
 #include <linux/sched.h>
 #include <linux/in6.h>
index f8da545854f979c33a7b3116d26d822caa46c494..98318ac3365ad1f969ff7b5e7692d3a0824c9c7a 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/sched/task.h>
 #include <linux/sched/task_stack.h>
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/mm.h>
 #include <linux/stddef.h>
 #include <linux/unistd.h>
index c82b09f4a106ce15d2a0b243f5ec40f135cd2b7d..8b13fdf43ec61592713fa7d2e8b640adb2ed3a06 100644 (file)
@@ -16,8 +16,9 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/init.h>
+#include <asm/param.h>
 #include <asm/delay.h>
 #include <asm/timex.h>
 #include <asm/processor.h>