projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2eaf8
)
pinctrl/sirf: fix sirfsoc_get_group_pins prototype
author
Jean-Christophe PLAGNIOL-VILLARD
<
[email protected]
>
Mon, 24 Oct 2011 16:11:56 +0000
(
00:11
+0800)
committer
Linus Walleij
<
[email protected]
>
Tue, 25 Oct 2011 08:43:57 +0000
(10:43 +0200)
fix sirfsoc_get_group_pins prototype introduced in
7e570f97
, we
missed to de-constify a pointer.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <
[email protected]
>
Acked-by: Stephen Warren <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
drivers/pinctrl/pinmux-sirf.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinmux-sirf.c
b/drivers/pinctrl/pinmux-sirf.c
index ba735230d91ece490f93289e451a98718f47f446..d76cae620956900361d729d6f9b9f436580018be 100644
(file)
--- a/
drivers/pinctrl/pinmux-sirf.c
+++ b/
drivers/pinctrl/pinmux-sirf.c
@@
-870,7
+870,7
@@
static const char *sirfsoc_get_group_name(struct pinctrl_dev *pctldev,
static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
const unsigned **pins,
-
const
unsigned *num_pins)
+ unsigned *num_pins)
{
if (selector >= ARRAY_SIZE(sirfsoc_pin_groups))
return -EINVAL;