]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xtensa: ISS: fix section mismatch in iss_net_setup
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 May 2013 14:58:24 +0000 (18:58 +0400)
committerChris 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

index 7d0fea6d7f20456feae6c5f353a60e7d53966daa..56f88b7afe2fd907798cd41023133e11c37cf7c8 100644 (file)
@@ -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;