diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-rockchip.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-rockchip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 5e8b2e04cd7a..b91b966add8f 100644 --- a/drivers/pinctrl/pinctrl-rockchip.c +++ b/drivers/pinctrl/pinctrl-rockchip.c | |||
@@ -813,8 +813,8 @@ static int rockchip_pmx_get_groups(struct pinctrl_dev *pctldev, | |||
813 | return 0; | 813 | return 0; |
814 | } | 814 | } |
815 | 815 | ||
816 | static int rockchip_pmx_enable(struct pinctrl_dev *pctldev, unsigned selector, | 816 | static int rockchip_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, |
817 | unsigned group) | 817 | unsigned group) |
818 | { | 818 | { |
819 | struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); | 819 | struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); |
820 | const unsigned int *pins = info->groups[group].pins; | 820 | const unsigned int *pins = info->groups[group].pins; |
@@ -889,7 +889,7 @@ static const struct pinmux_ops rockchip_pmx_ops = { | |||
889 | .get_functions_count = rockchip_pmx_get_funcs_count, | 889 | .get_functions_count = rockchip_pmx_get_funcs_count, |
890 | .get_function_name = rockchip_pmx_get_func_name, | 890 | .get_function_name = rockchip_pmx_get_func_name, |
891 | .get_function_groups = rockchip_pmx_get_groups, | 891 | .get_function_groups = rockchip_pmx_get_groups, |
892 | .enable = rockchip_pmx_enable, | 892 | .set_mux = rockchip_pmx_set, |
893 | .gpio_set_direction = rockchip_pmx_gpio_set_direction, | 893 | .gpio_set_direction = rockchip_pmx_gpio_set_direction, |
894 | }; | 894 | }; |
895 | 895 | ||