aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/pinctrl.txt
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2011-12-20 04:51:59 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-01-03 03:10:08 -0500
commite6337c3c96a7ee5cfd5e7afed825f894d4576f58 (patch)
tree5b6e53bf5f8bf699a30ebb3b8723308e43d741e6 /Documentation/pinctrl.txt
parent3bece55aa5356af0171aaa64fd9c4f7601c47f1c (diff)
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:
217#include <linux/pinctrl/pinconf.h> 217#include <linux/pinctrl/pinconf.h>
218#include "platform_x_pindefs.h" 218#include "platform_x_pindefs.h"
219 219
220int foo_pin_config_get(struct pinctrl_dev *pctldev, 220static int foo_pin_config_get(struct pinctrl_dev *pctldev,
221 unsigned offset, 221 unsigned offset,
222 unsigned long *config) 222 unsigned long *config)
223{ 223{
@@ -228,7 +228,7 @@ int foo_pin_config_get(struct pinctrl_dev *pctldev,
228 *config = (unsigned long) conf; 228 *config = (unsigned long) conf;
229} 229}
230 230
231int foo_pin_config_set(struct pinctrl_dev *pctldev, 231static int foo_pin_config_set(struct pinctrl_dev *pctldev,
232 unsigned offset, 232 unsigned offset,
233 unsigned long config) 233 unsigned long config)
234{ 234{
@@ -241,14 +241,14 @@ int foo_pin_config_set(struct pinctrl_dev *pctldev,
241 } 241 }
242} 242}
243 243
244int foo_pin_config_group_get (struct pinctrl_dev *pctldev, 244static int foo_pin_config_group_get (struct pinctrl_dev *pctldev,
245 unsigned selector, 245 unsigned selector,
246 unsigned long *config) 246 unsigned long *config)
247{ 247{
248 ... 248 ...
249} 249}
250 250
251int foo_pin_config_group_set (struct pinctrl_dev *pctldev, 251static int foo_pin_config_group_set (struct pinctrl_dev *pctldev,
252 unsigned selector, 252 unsigned selector,
253 unsigned long config) 253 unsigned long config)
254{ 254{
@@ -819,7 +819,7 @@ it even more compact which assumes you want to use pinctrl-foo and position
8190 for mapping, for example: 8190 for mapping, for example:
820 820
821static struct pinmux_map __initdata pmx_mapping[] = { 821static struct pinmux_map __initdata pmx_mapping[] = {
822 PINMUX_MAP_PRIMARY("I2CMAP", "i2c0", "foo-i2c.0"), 822 PINMUX_MAP("I2CMAP", "pinctrl-foo", "i2c0", "foo-i2c.0"),
823}; 823};
824 824
825 825