diff options
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
-rw-r--r-- | drivers/pinctrl/pinmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c index 6544d98b2cf8..90fb00d9a8a2 100644 --- a/drivers/pinctrl/pinmux.c +++ b/drivers/pinctrl/pinmux.c | |||
@@ -326,7 +326,7 @@ static int acquire_pins(struct pinctrl_dev *pctldev, | |||
326 | const struct pinmux_ops *pmxops = pctldev->desc->pmxops; | 326 | const struct pinmux_ops *pmxops = pctldev->desc->pmxops; |
327 | const char *func = pmxops->get_function_name(pctldev, | 327 | const char *func = pmxops->get_function_name(pctldev, |
328 | func_selector); | 328 | func_selector); |
329 | unsigned *pins; | 329 | const unsigned *pins; |
330 | unsigned num_pins; | 330 | unsigned num_pins; |
331 | int ret; | 331 | int ret; |
332 | int i; | 332 | int i; |
@@ -367,7 +367,7 @@ static void release_pins(struct pinctrl_dev *pctldev, | |||
367 | unsigned group_selector) | 367 | unsigned group_selector) |
368 | { | 368 | { |
369 | const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; | 369 | const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; |
370 | unsigned *pins; | 370 | const unsigned *pins; |
371 | unsigned num_pins; | 371 | unsigned num_pins; |
372 | int ret; | 372 | int ret; |
373 | int i; | 373 | int i; |