lkml.org 
[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Documentation/pinctrl.txt: Fix variable name in GPIO example code
Fix name of struct pinctrl_gpio_range for GPIO block "chip b"

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
---
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


\
 
 \ /
  Last update: 2011-12-22 22:05    [W:0.298 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site