diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-09-30 03:11:15 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-30 03:11:15 -0400 |
commit | afdadc06df68861ee7b9ed1699a44516532f545e (patch) | |
tree | 6b709f7ac228925e77073bf56db75a84e4378684 /drivers/gpio/gpio-stp-xway.c | |
parent | 3f97d5fcf99cb87f590ffe1d9422b2a26a8ef3ed (diff) |
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>
Diffstat (limited to 'drivers/gpio/gpio-stp-xway.c')
-rw-r--r-- | drivers/gpio/gpio-stp-xway.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 04882a911b65..7e359b7cce1b 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c | |||
@@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = { | |||
292 | }, | 292 | }, |
293 | }; | 293 | }; |
294 | 294 | ||
295 | int __init xway_stp_init(void) | 295 | static int __init xway_stp_init(void) |
296 | { | 296 | { |
297 | return platform_driver_register(&xway_stp_driver); | 297 | return platform_driver_register(&xway_stp_driver); |
298 | } | 298 | } |