提交 1938852d 编写于 作者: S Stafford Horne

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: f5016932 ("module.h: split out the EXPORT_SYMBOL into export.h")
Signed-off-by: NStafford Horne <shorne@gmail.com>
上级 706e71be
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册