projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f97d5f
)
gpio: staticize xway_stp_init()
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 30 Sep 2014 07:11:15 +0000
(09:11 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 30 Sep 2014 07:11:15 +0000
(09:11 +0200)
This initcall is only called from the driver itself, staticize it.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stp-xway.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-stp-xway.c
b/drivers/gpio/gpio-stp-xway.c
index 04882a911b6577f6cd3f5b333d1a91312e55ae51..7e359b7cce1b2190ecd7553a6a312d14fa9f32ff 100644
(file)
--- 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);
}