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:
12f3ad8
)
pinctrl: bcm2835: Staticize bcm2835_gpio_pins
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 18 Jun 2013 09:04:24 +0000
(14:34 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 18 Jun 2013 14:50:27 +0000
(16:50 +0200)
'bcm2835_gpio_pins' is used only in this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-bcm2835.c
b/drivers/pinctrl/pinctrl-bcm2835.c
index c8f20a3d8f8850aa758759627075a2fd87e4f1f5..a1c88b30f71f9aafa603860592e05a06df4a896d 100644
(file)
--- a/
drivers/pinctrl/pinctrl-bcm2835.c
+++ b/
drivers/pinctrl/pinctrl-bcm2835.c
@@
-113,7
+113,7
@@
static struct lock_class_key gpio_lock_class;
/* pins are just named GPIO0..GPIO53 */
#define BCM2835_GPIO_PIN(a) PINCTRL_PIN(a, "gpio" #a)
-struct pinctrl_pin_desc bcm2835_gpio_pins[] = {
+st
atic st
ruct pinctrl_pin_desc bcm2835_gpio_pins[] = {
BCM2835_GPIO_PIN(0),
BCM2835_GPIO_PIN(1),
BCM2835_GPIO_PIN(2),