提交 dc2bffa7 编写于 作者: M Max Filippov 提交者: Chris Zankel

xtensa: ISS: fix section mismatch in iss_net_setup

iss_net_setup is only called from __setup, so it should be marked
__init.
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NChris Zankel <chris@zankel.net>
上级 b5514786
...@@ -700,7 +700,7 @@ struct iss_net_init { ...@@ -700,7 +700,7 @@ struct iss_net_init {
#define ERR KERN_ERR "iss_net_setup: " #define ERR KERN_ERR "iss_net_setup: "
static int iss_net_setup(char *str) static int __init iss_net_setup(char *str)
{ {
struct iss_net_private *device = NULL; struct iss_net_private *device = NULL;
struct iss_net_init *new; struct iss_net_init *new;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册