提交 e8ed912e 编写于 作者: S Sachin Kamat 提交者: Linus Walleij

pinctrl: bcm2835: Staticize bcm2835_gpio_pins

'bcm2835_gpio_pins' is used only in this file.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 12f3ad8d
...@@ -113,7 +113,7 @@ static struct lock_class_key gpio_lock_class; ...@@ -113,7 +113,7 @@ static struct lock_class_key gpio_lock_class;
/* pins are just named GPIO0..GPIO53 */ /* pins are just named GPIO0..GPIO53 */
#define BCM2835_GPIO_PIN(a) PINCTRL_PIN(a, "gpio" #a) #define BCM2835_GPIO_PIN(a) PINCTRL_PIN(a, "gpio" #a)
struct pinctrl_pin_desc bcm2835_gpio_pins[] = { static struct pinctrl_pin_desc bcm2835_gpio_pins[] = {
BCM2835_GPIO_PIN(0), BCM2835_GPIO_PIN(0),
BCM2835_GPIO_PIN(1), BCM2835_GPIO_PIN(1),
BCM2835_GPIO_PIN(2), BCM2835_GPIO_PIN(2),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册