Skip to content

Commit b30bbe7

Browse files
arinc9smb49
authored andcommitted
pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string
BugLink: https://bugs.launchpad.net/bugs/2025067 [ Upstream commit 7c19147 ] There have been stable releases with the ralink,rt2880-pinmux compatible string included. Having it removed breaks the ABI. Reintroduce it. Fixes: e5981cd ("pinctrl: ralink: add new compatible strings for each pinctrl subdriver") Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20230317213011.13656-2-arinc.unal@arinc9.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent 5a4cff5 commit b30bbe7

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/pinctrl/ralink/pinctrl-mt7620.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ static int mt7620_pinctrl_probe(struct platform_device *pdev)
372372

373373
static const struct of_device_id mt7620_pinctrl_match[] = {
374374
{ .compatible = "ralink,mt7620-pinctrl" },
375+
{ .compatible = "ralink,rt2880-pinmux" },
375376
{}
376377
};
377378
MODULE_DEVICE_TABLE(of, mt7620_pinctrl_match);

drivers/pinctrl/ralink/pinctrl-mt7621.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ static int mt7621_pinctrl_probe(struct platform_device *pdev)
9797

9898
static const struct of_device_id mt7621_pinctrl_match[] = {
9999
{ .compatible = "ralink,mt7621-pinctrl" },
100+
{ .compatible = "ralink,rt2880-pinmux" },
100101
{}
101102
};
102103
MODULE_DEVICE_TABLE(of, mt7621_pinctrl_match);

drivers/pinctrl/ralink/pinctrl-rt2880.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static int rt2880_pinctrl_probe(struct platform_device *pdev)
4141

4242
static const struct of_device_id rt2880_pinctrl_match[] = {
4343
{ .compatible = "ralink,rt2880-pinctrl" },
44+
{ .compatible = "ralink,rt2880-pinmux" },
4445
{}
4546
};
4647
MODULE_DEVICE_TABLE(of, rt2880_pinctrl_match);

drivers/pinctrl/ralink/pinctrl-rt305x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ static int rt305x_pinctrl_probe(struct platform_device *pdev)
118118

119119
static const struct of_device_id rt305x_pinctrl_match[] = {
120120
{ .compatible = "ralink,rt305x-pinctrl" },
121+
{ .compatible = "ralink,rt2880-pinmux" },
121122
{}
122123
};
123124
MODULE_DEVICE_TABLE(of, rt305x_pinctrl_match);

drivers/pinctrl/ralink/pinctrl-rt3883.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ static int rt3883_pinctrl_probe(struct platform_device *pdev)
8888

8989
static const struct of_device_id rt3883_pinctrl_match[] = {
9090
{ .compatible = "ralink,rt3883-pinctrl" },
91+
{ .compatible = "ralink,rt2880-pinmux" },
9192
{}
9293
};
9394
MODULE_DEVICE_TABLE(of, rt3883_pinctrl_match);

0 commit comments

Comments
 (0)