Skip to contentSkip to conversation

PCI: mediatek-gen3: change driver name to mtk-pcie-gen3

PATCH In review Frank Wunderlich 3 participants 3 messages Oct 8, 2022 – Oct 10, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: mediatek-gen3: change driver name to mtk-pcie-gen3

From: Felix Fietkau <[email protected]>

This allows it to coexist with the other mtk pcie driver in the same kernel.

---
 drivers/pci/controller/pcie-mediatek-gen3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/pcie-mediatek-gen3.c +1 -1
index 11cdb9b6f109..b8612ce5f4d0 100644
@@ -1071,7 +1071,7 @@ static struct platform_driver mtk_pcie_driver = {
 	.probe = mtk_pcie_probe,
 	.remove = mtk_pcie_remove,
 	.driver = {
-		.name = "mtk-pcie",
+		.name = "mtk-pcie-gen3",
 		.of_match_table = mtk_pcie_of_match,
 		.pm = &mtk_pcie_pm_ops,
 	},
Signature · 1 line
2.34.1
#1 lore raw
Quoted 7 lines · Frank Wunderlich

From: Felix Fietkau <[email protected]>

This allows it to coexist with the other mtk pcie driver in the same kernel.

Looks like Lorenzo already applied this:

https://lore.kernel.org/all/[email protected]/#t

Quoted 20 lines
---
 drivers/pci/controller/pcie-mediatek-gen3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/pcie-mediatek-gen3.c +1 -1
index 11cdb9b6f109..b8612ce5f4d0 100644
@@ -1071,7 +1071,7 @@ static struct platform_driver mtk_pcie_driver = {
 	.probe = mtk_pcie_probe,
 	.remove = mtk_pcie_remove,
 	.driver = {
-		.name = "mtk-pcie",
+		.name = "mtk-pcie-gen3",
 		.of_match_table = mtk_pcie_of_match,
 		.pm = &mtk_pcie_pm_ops,
 	},
Signature · 1 line
2.34.1
#2 lore raw
Quoted 10 lines

Gesendet: Montag, 10. Oktober 2022 um 22:53 Uhr
Von: "Bjorn Helgaas" <[email protected]>
Betreff: Re: [PATCH] PCI: mediatek-gen3: change driver name to mtk-pcie-gen3

Quoted 5 lines · Frank Wunderlich

From: Felix Fietkau <[email protected]>

This allows it to coexist with the other mtk pcie driver in the same kernel.

Quoted 6 lines
Quoted 2 lines

Looks like Lorenzo already applied this:

https://lore.kernel.org/all/[email protected]/#t

ok, thx for pointing out

have rebased my tree to torvalds/master from yesterday and it was not yet in...but i see it in next with commit-date from august 23th

i guess pcie-part is not yet merged...sorry for the noise

regards Frank