commit | afdadc06df68861ee7b9ed1699a44516532f545e | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Sep 30 09:11:15 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Sep 30 09:11:15 2014 +0200 |
tree | 6b709f7ac228925e77073bf56db75a84e4378684 | |
parent | 3f97d5fcf99cb87f590ffe1d9422b2a26a8ef3ed [diff] [blame] |
gpio: staticize xway_stp_init() This initcall is only called from the driver itself, staticize it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 04882a9..7e359b7 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c
@@ -292,7 +292,7 @@ }, }; -int __init xway_stp_init(void) +static int __init xway_stp_init(void) { return platform_driver_register(&xway_stp_driver); }