summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/ralink/pinctrl-rt3883.c
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-04-14 20:39:09 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-04-23 00:05:42 +0200
commite5981cd46183508b16756cbf0278eadcb4377e0a (patch)
tree9b6fb3b97d4ab66a005221ccea87e7dc7a86d29d /drivers/pinctrl/ralink/pinctrl-rt3883.c
parent91da26dcf5385a65dc736117600fb982eb9867e8 (diff)
downloadlwn-e5981cd46183508b16756cbf0278eadcb4377e0a.tar.gz
lwn-e5981cd46183508b16756cbf0278eadcb4377e0a.zip
pinctrl: ralink: add new compatible strings for each pinctrl subdriver
As seen on any other pinctrl subdriver that calls code from a main driver, each subdriver needs to have a different compatible string. We don't want the same compatible string to match a different subdriver's pinmux data as it's not for our SoC. Therefore, add new compatible strings for each pinctrl subdriver. Change driver name on all subdrivers accordingly. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20220414173916.5552-8-arinc.unal@arinc9.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/ralink/pinctrl-rt3883.c')
-rw-r--r--drivers/pinctrl/ralink/pinctrl-rt3883.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/ralink/pinctrl-rt3883.c b/drivers/pinctrl/ralink/pinctrl-rt3883.c
index b2e8151de226..44a66c3d2d2a 100644
--- a/drivers/pinctrl/ralink/pinctrl-rt3883.c
+++ b/drivers/pinctrl/ralink/pinctrl-rt3883.c
@@ -87,7 +87,7 @@ static int rt3883_pinctrl_probe(struct platform_device *pdev)
}
static const struct of_device_id rt3883_pinctrl_match[] = {
- { .compatible = "ralink,rt2880-pinmux" },
+ { .compatible = "ralink,rt3883-pinctrl" },
{}
};
MODULE_DEVICE_TABLE(of, rt3883_pinctrl_match);
@@ -95,7 +95,7 @@ MODULE_DEVICE_TABLE(of, rt3883_pinctrl_match);
static struct platform_driver rt3883_pinctrl_driver = {
.probe = rt3883_pinctrl_probe,
.driver = {
- .name = "rt2880-pinmux",
+ .name = "rt3883-pinctrl",
.of_match_table = rt3883_pinctrl_match,
},
};