]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
pinctrl-bcm2835: Set base to 0 give expected gpio numbering
authornotro <notro@tronnes.org>
Thu, 10 Jul 2014 11:59:47 +0000 (13:59 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 16 Feb 2018 22:06:53 +0000 (17:06 -0500)
Signed-off-by: Noralf Tronnes <notro@tronnes.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c

index ff3789a11b3c36b922b9d08035abb638187c2f5a..d2b537572095c86576f78536f737c102487f99f4 100644 (file)
@@ -381,7 +381,7 @@ static struct gpio_chip bcm2835_gpio_chip = {
        .get = bcm2835_gpio_get,
        .set = bcm2835_gpio_set,
        .to_irq = bcm2835_gpio_to_irq,
-       .base = -1,
+       .base = 0,
        .ngpio = BCM2835_NUM_GPIOS,
        .can_sleep = false,
 };