diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-05-27 18:58:24 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-06-05 10:14:21 -0700 |
commit | dc2bffa77a2866a451126cf3146abb9787edce78 (patch) | |
tree | 765f9f8b7d326d62f4d65da2092fd2c98c756827 | |
parent | b5514786ec3257c8703fc7f29bdf98b42253ee39 (diff) |
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: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
-rw-r--r-- | arch/xtensa/platforms/iss/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/iss/network.c b/arch/xtensa/platforms/iss/network.c index 7d0fea6d7f20..56f88b7afe2f 100644 --- a/arch/xtensa/platforms/iss/network.c +++ b/arch/xtensa/platforms/iss/network.c @@ -700,7 +700,7 @@ struct iss_net_init { #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_init *new; |