Skip to content

Commit

Permalink
xtensa: ISS: fix section mismatch in iss_net_setup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Max Filippov authored and Chris Zankel committed Jun 5, 2013
1 parent b551478 commit dc2bffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/platforms/iss/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc2bffa

Please sign in to comment.