diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-05-27 10:58:24 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-06-05 13:14:21 -0400 |
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 { | |||
700 | 700 | ||
701 | #define ERR KERN_ERR "iss_net_setup: " | 701 | #define ERR KERN_ERR "iss_net_setup: " |
702 | 702 | ||
703 | static int iss_net_setup(char *str) | 703 | static int __init iss_net_setup(char *str) |
704 | { | 704 | { |
705 | struct iss_net_private *device = NULL; | 705 | struct iss_net_private *device = NULL; |
706 | struct iss_net_init *new; | 706 | struct iss_net_init *new; |