Skip to content

Commit

Permalink
gpio: staticize xway_stp_init()
Browse files Browse the repository at this point in the history
This initcall is only called from the driver itself, staticize it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Sep 30, 2014
1 parent 3f97d5f commit afdadc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-stp-xway.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = {
},
};

int __init xway_stp_init(void)
static int __init xway_stp_init(void)
{
return platform_driver_register(&xway_stp_driver);
}
Expand Down

0 comments on commit afdadc0

Please sign in to comment.