From: Linus Walleij Date: Tue, 30 Sep 2014 07:11:15 +0000 (+0200) Subject: gpio: staticize xway_stp_init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=afdadc06df68861ee7b9ed1699a44516532f545e;p=linux-beck.git gpio: staticize xway_stp_init() This initcall is only called from the driver itself, staticize it. Signed-off-by: Linus Walleij --- 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 = { }, }; -int __init xway_stp_init(void) +static int __init xway_stp_init(void) { return platform_driver_register(&xway_stp_driver); }