diff options
author | Stafford Horne <shorne@gmail.com> | 2017-03-14 09:54:22 -0400 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-05-15 09:02:33 -0400 |
commit | 1938852de55d3235c2d1a8be5787160a00d5c378 (patch) | |
tree | 87da6cecd5e9086b995ed7bf13d86ca403da7c8b | |
parent | 706e71bed74bcd9f6638a90a0f4131c8c8235b6a (diff) |
openrisc: Switch to use export.h instead of module.h
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>
-rw-r--r-- | arch/openrisc/kernel/or32_ksyms.c | 2 | ||||
-rw-r--r-- | arch/openrisc/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/openrisc/lib/delay.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/openrisc/kernel/or32_ksyms.c b/arch/openrisc/kernel/or32_ksyms.c index ee3e604959e1..d7260fdb0351 100644 --- a/arch/openrisc/kernel/or32_ksyms.c +++ b/arch/openrisc/kernel/or32_ksyms.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * 2 of the License, or (at your option) any later version. | 15 | * 2 of the License, or (at your option) any later version. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/module.h> | 18 | #include <linux/export.h> |
19 | #include <linux/elfcore.h> | 19 | #include <linux/elfcore.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <linux/in6.h> | 21 | #include <linux/in6.h> |
diff --git a/arch/openrisc/kernel/process.c b/arch/openrisc/kernel/process.c index f8da545854f9..98318ac3365a 100644 --- a/arch/openrisc/kernel/process.c +++ b/arch/openrisc/kernel/process.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/sched/task.h> | 26 | #include <linux/sched/task.h> |
27 | #include <linux/sched/task_stack.h> | 27 | #include <linux/sched/task_stack.h> |
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/module.h> | 29 | #include <linux/export.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/stddef.h> | 31 | #include <linux/stddef.h> |
32 | #include <linux/unistd.h> | 32 | #include <linux/unistd.h> |
diff --git a/arch/openrisc/lib/delay.c b/arch/openrisc/lib/delay.c index c82b09f4a106..8b13fdf43ec6 100644 --- a/arch/openrisc/lib/delay.c +++ b/arch/openrisc/lib/delay.c | |||
@@ -16,8 +16,9 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
19 | #include <linux/module.h> | 19 | #include <linux/export.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <asm/param.h> | ||
21 | #include <asm/delay.h> | 22 | #include <asm/delay.h> |
22 | #include <asm/timex.h> | 23 | #include <asm/timex.h> |
23 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |