summaryrefslogtreecommitdiff
path: root/Documentation/pinctrl.txt
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-03-09 20:20:30 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-03-18 04:02:20 +0300
commit838d030bda9e2da5f9dcf7251f4e117c6258cb2f (patch)
tree0a9e05bef68e2bdaa48cb001aa8583944664e6d5 /Documentation/pinctrl.txt
parent45937b5b5e1fcb362332a071e4eb5f4eb270bb20 (diff)
downloadlinux-838d030bda9e2da5f9dcf7251f4e117c6258cb2f.tar.xz
pinctrl: fix example .get_group_pins implementation signature
The callback function signature has changed in commit a5818a8bd0 (pinctrl: get_group_pins() const fixes) Fixes: a5818a8bd0 ('pinctrl: get_group_pins() const fixes') Cc: Stephen Warren <swarren@nvidia.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/pinctrl.txt')
-rw-r--r--Documentation/pinctrl.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt
index 5e9909c8c8a8..a9b47163bb5d 100644
--- a/Documentation/pinctrl.txt
+++ b/Documentation/pinctrl.txt
@@ -163,8 +163,8 @@ static const char *foo_get_group_name(struct pinctrl_dev *pctldev,
}
static int foo_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
- unsigned ** const pins,
- unsigned * const num_pins)
+ const unsigned **pins,
+ unsigned *num_pins)
{
*pins = (unsigned *) foo_groups[selector].pins;
*num_pins = foo_groups[selector].num_pins;