Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2546899iob; Fri, 6 May 2022 05:29:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu/lINhRKM/LbpwtOv2SnfFMwTO5J0E0KrP9IV5qwYUFmWPvF7eiiJFNU1AejQRSQZlAFB X-Received: by 2002:a17:907:a40d:b0:6f3:d1e4:9d7b with SMTP id sg13-20020a170907a40d00b006f3d1e49d7bmr2721358ejc.69.1651840154823; Fri, 06 May 2022 05:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651840154; cv=none; d=google.com; s=arc-20160816; b=vJsS7elahj+Jp0Zt4TPq/Z1cvJ6o+D91kXBwhV8dIoxpM3R4S0MDp9quHlOAOSpatX J33NgXB4SxpE4PCdfyVYBO50Kb746YBDJM9SApk/G37cWwtmnkC/fFzm9/nCYylDN1xn C7XMSAOT9O62tbFGrBGMvJFGPi+S7V9biL5My9wrx7mhQI7T34pl3RZSb3I4zOVvX8YP VpWfQPk3QaEGnyfEBlhqqVScsWUSIBDE08jTjGO4Nbhh6vLhPWnDPEZxDOFjNfxLQx23 RAsxv3GUyPStbLwQjp3fjAwV5XwHFx4wJ+8D9Ymte93bjlNdOXbFino0OVWagrRDCnkp rvpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0S0y/Rdk5Z4jKRvQmXg7i6mtMuCdFPTssifWTZDLJYc=; b=fr6oabw9SCI57PpxOFr7Rrc5GDBL/bn2zy2/j/gtKv1zCHDWN6TXtvv/XZi6Qti6ci pVfmvZEKe00gwwl4cjDFWsC0yAFq4SGBiIGbntm0Q6iLaU/7lz5nqGsdfYhOs0dh9Qkr H3HW2ysZApzywM1O62r4pR5UWJwKGGMFok8z1XqyQ7ZzHsx2shpxkbih3gcGlKN7xoF2 oDWD9EJmDZbxh/jHlhcYCl6mrsfAuZ7XjFPmN0LWpJ+ycKVH5yOLcQkQLO0iEh7FAHnH /3aKgT/ZDei2MKANYeONQwLKQRCXuoza/R/SiuoQWvpLiQ+fPC1WdULi8GMw5Ee/hjy/ ne0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=gaoOwYpX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a056402280700b00425c3a32938si5880953ede.145.2022.05.06.05.28.45; Fri, 06 May 2022 05:29:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=gaoOwYpX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349941AbiEEInM (ORCPT + 99 others); Thu, 5 May 2022 04:43:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350246AbiEEInH (ORCPT ); Thu, 5 May 2022 04:43:07 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D324949CBC; Thu, 5 May 2022 01:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=0S0y/Rdk5Z4jKRvQmXg7i6mtMuCdFPTssifWTZDLJYc=; b=gaoOwYpXivZzZ1DtvcqcuGuWnr 9asAcKr/aWFEoP1l/b0tBhBIoJnDAwSSCxvgDbjuvaCAGi6KmqXdB6iys0TftjF2fnuwjpFKSu+R3 C1lXozBHaxkYi3xnGPq4YS3Dud5xTGpthOeFdlVd+p5H/tERa1XWoU89zv6NdNG5k1gw=; Received: from [217.114.218.24] (helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nmX0z-0000IR-Lu; Thu, 05 May 2022 10:39:13 +0200 From: Felix Fietkau To: Ryder Lee , Jianjun Wang , Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Matthias Brugger Cc: AngeloGioacchino Del Regno , linux-pci@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4] PCI: mediatek-gen3: Change driver name to mtk-pcie-gen3 Date: Thu, 5 May 2022 10:39:07 +0200 Message-Id: <20220505083907.86598-1-nbd@nbd.name> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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, }, -- 2.35.1