Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282154
b: refs/heads/master
c: e6337c3
h: refs/heads/master
v: v3
  • Loading branch information
Dong Aisheng authored and Linus Walleij committed Jan 3, 2012
1 parent a730cd2 commit 06757f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3bece55aa5356af0171aaa64fd9c4f7601c47f1c
refs/heads/master: e6337c3c96a7ee5cfd5e7afed825f894d4576f58
10 changes: 5 additions & 5 deletions trunk/Documentation/pinctrl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down Expand Up @@ -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"),
};


Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/pinctrl/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ EXPORT_SYMBOL_GPL(pinmux_gpio_direction_output);
* Only call this once during initialization of your machine, the function is
* tagged as __init and won't be callable after init has completed. The map
* passed into this function will be owned by the pinmux core and cannot be
* free:d.
* freed.
*/
int __init pinmux_register_mappings(struct pinmux_map const *maps,
unsigned num_maps)
Expand Down

0 comments on commit 06757f2

Please sign in to comment.