8aa2abb0dacb2c2350f141e62c99ea777c9d2c03
[oweals/openwrt.git] /
1 From 96f571906f77a982630e4fee23a96ebb1f83ce45 Mon Sep 17 00:00:00 2001
2 From: notro <notro@tronnes.org>
3 Date: Thu, 10 Jul 2014 13:59:47 +0200
4 Subject: [PATCH 038/773] pinctrl-bcm2835: Set base to 0 give expected gpio
5  numbering
6
7 Signed-off-by: Noralf Tronnes <notro@tronnes.org>
8 ---
9  drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
13 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
14 @@ -352,7 +352,7 @@ static const struct gpio_chip bcm2835_gp
15         .get_direction = bcm2835_gpio_get_direction,
16         .get = bcm2835_gpio_get,
17         .set = bcm2835_gpio_set,
18 -       .base = -1,
19 +       .base = 0,
20         .ngpio = BCM2835_NUM_GPIOS,
21         .can_sleep = false,
22  };