projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadda8b
)
pinctrl-bcm2835: Set base to 0 give expected gpio numbering
author
notro
<notro@tronnes.org>
Thu, 10 Jul 2014 11:59:47 +0000
(13:59 +0200)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:35 +0000
(16:32 +0100)
Signed-off-by: Noralf Tronnes <notro@tronnes.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
index
0de1a3a
..
76fad11
100644
(file)
--- a/
drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/
drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@
-350,7
+350,7
@@
static const struct gpio_chip bcm2835_gpio_chip = {
.get = bcm2835_gpio_get,
.set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config,
- .base =
-1
,
+ .base =
0
,
.ngpio = BCM2835_NUM_GPIOS,
.can_sleep = false,
};