[PATCH] Documentation/pinctrl.txt: Fix variable name in GPIO examplecode

From: Matthias Kaehlcke
Date: Thu Dec 22 2011 - 16:03:01 EST


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

Signed-off-by: Matthias Kaehlcke <matthias@xxxxxxxxxxxx>
---
Documentation/pinctrl.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt
index b04cb7d..399a300 100644
--- a/Documentation/pinctrl.txt
+++ b/Documentation/pinctrl.txt
@@ -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,
--
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/