projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b551478
)
xtensa: ISS: fix section mismatch in iss_net_setup
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 27 May 2013 14:58:24 +0000
(18:58 +0400)
committer
Chris Zankel
<chris@zankel.net>
Wed, 5 Jun 2013 17:14:21 +0000
(10:14 -0700)
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>
arch/xtensa/platforms/iss/network.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/platforms/iss/network.c
b/arch/xtensa/platforms/iss/network.c
index 7d0fea6d7f20456feae6c5f353a60e7d53966daa..56f88b7afe2fd907798cd41023133e11c37cf7c8 100644
(file)
--- 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;