diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-lantiq.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-lantiq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-lantiq.c b/drivers/pinctrl/pinctrl-lantiq.c index a70384611351..615c5002b757 100644 --- a/drivers/pinctrl/pinctrl-lantiq.c +++ b/drivers/pinctrl/pinctrl-lantiq.c | |||
@@ -169,7 +169,7 @@ static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | |||
169 | return 0; | 169 | return 0; |
170 | } | 170 | } |
171 | 171 | ||
172 | static struct pinctrl_ops ltq_pctrl_ops = { | 172 | static const struct pinctrl_ops ltq_pctrl_ops = { |
173 | .get_groups_count = ltq_get_group_count, | 173 | .get_groups_count = ltq_get_group_count, |
174 | .get_group_name = ltq_get_group_name, | 174 | .get_group_name = ltq_get_group_name, |
175 | .get_group_pins = ltq_get_group_pins, | 175 | .get_group_pins = ltq_get_group_pins, |
@@ -311,7 +311,7 @@ static int ltq_pmx_gpio_request_enable(struct pinctrl_dev *pctrldev, | |||
311 | return info->apply_mux(pctrldev, mfp, pin_func); | 311 | return info->apply_mux(pctrldev, mfp, pin_func); |
312 | } | 312 | } |
313 | 313 | ||
314 | static struct pinmux_ops ltq_pmx_ops = { | 314 | static const struct pinmux_ops ltq_pmx_ops = { |
315 | .get_functions_count = ltq_pmx_func_count, | 315 | .get_functions_count = ltq_pmx_func_count, |
316 | .get_function_name = ltq_pmx_func_name, | 316 | .get_function_name = ltq_pmx_func_name, |
317 | .get_function_groups = ltq_pmx_get_groups, | 317 | .get_function_groups = ltq_pmx_get_groups, |