[PATCH] PCI: mediatek-gen3: change driver name to mtk-pcie-gen3

Bjorn Helgaas helgaas at kernel.org
Mon Oct 10 13:53:42 PDT 2022


On Sat, Oct 08, 2022 at 06:42:11PM +0200, Frank Wunderlich wrote:
> From: Felix Fietkau <nbd at nbd.name>
> 
> This allows it to coexist with the other mtk pcie driver in the same
> kernel.
> 
> Signed-off-by: Felix Fietkau <nbd at nbd.name>
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>

Looks like Lorenzo already applied this:

https://lore.kernel.org/all/166125958529.60702.17839683437013330997.b4-ty@kernel.org/#t

> ---
>  drivers/pci/controller/pcie-mediatek-gen3.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/controller/pcie-mediatek-gen3.c b/drivers/pci/controller/pcie-mediatek-gen3.c
> index 11cdb9b6f109..b8612ce5f4d0 100644
> --- a/drivers/pci/controller/pcie-mediatek-gen3.c
> +++ b/drivers/pci/controller/pcie-mediatek-gen3.c
> @@ -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,
>  	},
> -- 
> 2.34.1
> 



More information about the Linux-mediatek mailing list