diff options
author | Stafford Horne <shorne@gmail.com> | 2017-03-14 22:54:22 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-05-15 22:02:33 +0900 |
commit | 1938852de55d3235c2d1a8be5787160a00d5c378 (patch) | |
tree | 87da6cecd5e9086b995ed7bf13d86ca403da7c8b /arch/openrisc/kernel | |
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>
Diffstat (limited to 'arch/openrisc/kernel')
-rw-r--r-- | arch/openrisc/kernel/or32_ksyms.c | 2 | ||||
-rw-r--r-- | arch/openrisc/kernel/process.c | 2 |
2 files changed, 2 insertions, 2 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 @@ * 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> 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 @@ #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> |