diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-tz1090-pdc.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-tz1090-pdc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-tz1090-pdc.c b/drivers/pinctrl/pinctrl-tz1090-pdc.c index 41e81a35cabb..3bb6a3b78864 100644 --- a/drivers/pinctrl/pinctrl-tz1090-pdc.c +++ b/drivers/pinctrl/pinctrl-tz1090-pdc.c | |||
@@ -547,8 +547,9 @@ static void tz1090_pdc_pinctrl_mux(struct tz1090_pdc_pmx *pmx, | |||
547 | __global_unlock2(flags); | 547 | __global_unlock2(flags); |
548 | } | 548 | } |
549 | 549 | ||
550 | static int tz1090_pdc_pinctrl_enable(struct pinctrl_dev *pctldev, | 550 | static int tz1090_pdc_pinctrl_set_mux(struct pinctrl_dev *pctldev, |
551 | unsigned int function, unsigned int group) | 551 | unsigned int function, |
552 | unsigned int group) | ||
552 | { | 553 | { |
553 | struct tz1090_pdc_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); | 554 | struct tz1090_pdc_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); |
554 | const struct tz1090_pdc_pingroup *grp = &tz1090_pdc_groups[group]; | 555 | const struct tz1090_pdc_pingroup *grp = &tz1090_pdc_groups[group]; |
@@ -634,7 +635,7 @@ static struct pinmux_ops tz1090_pdc_pinmux_ops = { | |||
634 | .get_functions_count = tz1090_pdc_pinctrl_get_funcs_count, | 635 | .get_functions_count = tz1090_pdc_pinctrl_get_funcs_count, |
635 | .get_function_name = tz1090_pdc_pinctrl_get_func_name, | 636 | .get_function_name = tz1090_pdc_pinctrl_get_func_name, |
636 | .get_function_groups = tz1090_pdc_pinctrl_get_func_groups, | 637 | .get_function_groups = tz1090_pdc_pinctrl_get_func_groups, |
637 | .enable = tz1090_pdc_pinctrl_enable, | 638 | .set_mux = tz1090_pdc_pinctrl_set_mux, |
638 | .gpio_request_enable = tz1090_pdc_pinctrl_gpio_request_enable, | 639 | .gpio_request_enable = tz1090_pdc_pinctrl_gpio_request_enable, |
639 | .gpio_disable_free = tz1090_pdc_pinctrl_gpio_disable_free, | 640 | .gpio_disable_free = tz1090_pdc_pinctrl_gpio_disable_free, |
640 | }; | 641 | }; |