Skip to contentSkip to conversation

Documentation/pinctrl.txt: Fix variable name in GPIO example code

PATCH In review Matthias Kaehlcke 2 participants 2 messages Dec 22, 2011 – Jan 1, 2012 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/pinctrl.txt: Fix variable name in GPIO example code

Fix name of struct pinctrl_gpio_range for GPIO block "chip b"

---
 Documentation/pinctrl.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/pinctrl.txt +1 -1
index b04cb7d..399a300 100644
@@ -218,7 +218,7 @@ static struct pinctrl_gpio_range gpio_range_a = {
 	.gc = &chip_a;
 };
 
-static struct pinctrl_gpio_range gpio_range_a = {
+static struct pinctrl_gpio_range gpio_range_b = {
 	.name = "chip b",
 	.id = 0,
 	.base = 48,
Signature · 1 line
1.7.7.3
#1 lore raw
Quoted 3 lines · Matthias Kaehlcke

Fix name of struct pinctrl_gpio_range for GPIO block "chip b"

This appears to have been fixed by some other doc update pending in my tree, but thanks anyway!

Yours,
Linus Walleij