summaryrefslogtreecommitdiff
path: root/Documentation/pinctrl.txt
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2011-12-20 13:51:59 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-01-03 12:10:08 +0400
commite6337c3c96a7ee5cfd5e7afed825f894d4576f58 (patch)
tree5b6e53bf5f8bf699a30ebb3b8723308e43d741e6 /Documentation/pinctrl.txt
parent3bece55aa5356af0171aaa64fd9c4f7601c47f1c (diff)
downloadlinux-e6337c3c96a7ee5cfd5e7afed825f894d4576f58.tar.xz
pinctrl: some typo fixes
Minor copyedits. Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/pinctrl.txt')
-rw-r--r--Documentation/pinctrl.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt
index 44321d3227e8..6727b92bc2fb 100644
--- a/Documentation/pinctrl.txt
+++ b/Documentation/pinctrl.txt
@@ -217,7 +217,7 @@ changing pin configuration in the pin controller ops like this:
#include <linux/pinctrl/pinconf.h>
#include "platform_x_pindefs.h"
-int foo_pin_config_get(struct pinctrl_dev *pctldev,
+static int foo_pin_config_get(struct pinctrl_dev *pctldev,
unsigned offset,
unsigned long *config)
{
@@ -228,7 +228,7 @@ int foo_pin_config_get(struct pinctrl_dev *pctldev,
*config = (unsigned long) conf;
}
-int foo_pin_config_set(struct pinctrl_dev *pctldev,
+static int foo_pin_config_set(struct pinctrl_dev *pctldev,
unsigned offset,
unsigned long config)
{
@@ -241,14 +241,14 @@ int foo_pin_config_set(struct pinctrl_dev *pctldev,
}
}
-int foo_pin_config_group_get (struct pinctrl_dev *pctldev,
+static int foo_pin_config_group_get (struct pinctrl_dev *pctldev,
unsigned selector,
unsigned long *config)
{
...
}
-int foo_pin_config_group_set (struct pinctrl_dev *pctldev,
+static int foo_pin_config_group_set (struct pinctrl_dev *pctldev,
unsigned selector,
unsigned long config)
{
@@ -819,7 +819,7 @@ it even more compact which assumes you want to use pinctrl-foo and position
0 for mapping, for example:
static struct pinmux_map __initdata pmx_mapping[] = {
- PINMUX_MAP_PRIMARY("I2CMAP", "i2c0", "foo-i2c.0"),
+ PINMUX_MAP("I2CMAP", "pinctrl-foo", "i2c0", "foo-i2c.0"),
};