From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59525C433F5 for ; Thu, 5 May 2022 12:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G4r5nEJp3O+kLg5xx82ohRB0wfrF2l1DAfszFDQa8/4=; b=HXF/fCXrM3Eguw 5YlSUPVvOvkaLi1OfXd34yTWqK6pyXEq38HIjlpB7QZCJtrwsx1FTyT2Pg+a5U2lz87jMQ9Txd5F9 NXNlUiFhyBzDEYTBi0eKK3WVXKBDJ5/FHBrn/vJjGN3bUg04/Oax5z93VRU9u56doAIEEUeHu+5fb 8aLjAW/VOKYZWN18kaoP5vDvA9+tuLzv59uL17MJ33VLzD2Um6reMRMf1shD897aac/zeJGsm+TlL ckUDVBpL0uknbHixDcP7oAbwMflyYoulwdNZmf+pEc5Lpeur2ALjp2V6gBWj0yeG6tlin//lN3iFf YmlffClOYW+LMlPoh8WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmaHV-00FhKS-Lq; Thu, 05 May 2022 12:08:29 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmaFY-00Fg09-5D; Thu, 05 May 2022 12:06:29 +0000 X-UUID: 963e3d632d774ad1952d81b5ee855e9e-20220505 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=2D/Fn5+pUrov/+0+xLQK9zaknb08/dl9detbqlW8kf4=; b=m4nifWAp6RiHZsPv8iLItrYgTFq9hmz4EPfb9MwXVyMPkdxmGJDnyhKoOJ72hSWO1MNZ7YjCz07Zwa7zSBIiRsC1U6bDhJg3EMsD+MEcVS20eBzoynmNiU6/jk9RJZRC6h6cFdvTtOFh9rePQEMCdL1fjz9O9hXGfroydqAK3GM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:13d4a26d-6274-4f4e-9da3-a30092838d48, OB:0, LO B:0,IP:0,URL:8,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:8 X-CID-META: VersionHash:faefae9, CLOUDID:38ddb1b2-56b5-4c9e-8d83-0070b288eb6a, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 963e3d632d774ad1952d81b5ee855e9e-20220505 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 972717578; Thu, 05 May 2022 05:06:21 -0700 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 May 2022 05:06:20 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 May 2022 20:06:19 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Thu, 5 May 2022 20:06:18 +0800 Message-ID: Subject: Re: [PATCH v4] PCI: mediatek-gen3: Change driver name to mtk-pcie-gen3 From: Jianjun Wang To: Felix Fietkau , Ryder Lee , "Lorenzo Pieralisi" , Rob Herring , Krzysztof =?UTF-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger CC: AngeloGioacchino Del Regno , , , , Date: Thu, 5 May 2022 20:06:18 +0800 In-Reply-To: <20220505083907.86598-1-nbd@nbd.name> References: <20220505083907.86598-1-nbd@nbd.name> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_050628_280041_B7061A97 X-CRM114-Status: GOOD ( 18.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Felix, Thanks for the fix. Reviewed-by: Jianjun Wang Thanks. On Thu, 2022-05-05 at 10:39 +0200, Felix Fietkau wrote: > driver_register() will refuse to register another driver with the > same name. > This change allows pcie-mediatek-gen3 to coexist with pcie-mediatek > built into > the kernel. > > Fixes: d3bf75b579b9 ("PCI: mediatek-gen3: Add MediaTek Gen3 driver > for MT8192") > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> > Signed-off-by: Felix Fietkau > --- > 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 3e8d70bfabc6..2e665cd7e735 100644 > --- a/drivers/pci/controller/pcie-mediatek-gen3.c > +++ b/drivers/pci/controller/pcie-mediatek-gen3.c > @@ -1021,7 +1021,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, > }, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel