Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: bcm2835: Staticize bcm2835_gpio_pins

'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>

authored by

Sachin Kamat and committed by
Linus Walleij
e8ed912e 12f3ad8d

+1 -1
+1 -1
drivers/pinctrl/pinctrl-bcm2835.c
··· 113 113 114 114 /* pins are just named GPIO0..GPIO53 */ 115 115 #define BCM2835_GPIO_PIN(a) PINCTRL_PIN(a, "gpio" #a) 116 - struct pinctrl_pin_desc bcm2835_gpio_pins[] = { 116 + static struct pinctrl_pin_desc bcm2835_gpio_pins[] = { 117 117 BCM2835_GPIO_PIN(0), 118 118 BCM2835_GPIO_PIN(1), 119 119 BCM2835_GPIO_PIN(2),