Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4624781iob; Sun, 8 May 2022 19:39:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUlicHrK6xihgm8bjNxfEIeIA2E+onFNcGGxcNrEuYl3D0s1g+eQ3XxDVcLgGvmFpNMgdZ X-Received: by 2002:a17:90a:4f0b:b0:1d9:acbd:1204 with SMTP id p11-20020a17090a4f0b00b001d9acbd1204mr24057072pjh.201.1652063979624; Sun, 08 May 2022 19:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652063979; cv=none; d=google.com; s=arc-20160816; b=tH8jyBvysHAT9zB28zjTqa3wSFf/RJB2aXQXbIukpUnW9hIM5VzIknKaSvlkVg5fOT fEJHmLoBVSatLhRjFNjW2WdKFEBonYUB2UfqceZmLHivDjBOY3y6dn3vNNDpihl7toHr +3Haj0qKi/JBPoxxUSzNJ+8lOuLlDq2oeWsqCfOyst86RJcjKaR0E++JsMLgTJk6Xt4x cTqW77SH9IuaYcUITkZWCTN8y3Kq/i4C5uo0teZgGAdo14dOzPSc3DA3cvr7j7vdSMsr sJ/X9gyphfdRYpokRIRIKT+UiOp76DlNslLq1mS3ta0bTJBv/SaFyz7NcU/h4cnY33kS QL6g== 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=OkLWA35yCfirCuaQDiFaSQT4Boa4urpvOuCCHvvJHYY=; b=fIVBr8+fhOeRrR5MDuxDq7uaGHUmxQpJ9/Eib+loFAdMzReY1/Ir0oX6gPrE3svvFn +YirAYwCNzkt0jq8Pt7plyMehaiLUF2w9aNlJ0Fft6n1Qb1L8mj96C5hFz8kDK/Sl8S8 8VGL9FplqgPTGfU+2V/b0xUyvVLCkX5kpad6tTVmZIaV3zEz17nSdW2bnIe0oHJj7Hp6 shn0gwDbbYsMNb4x/2FWOMLmo+dN4MSTOWOYbHyOTi0PI5ukfRdkptmzVIU+5GTrC67g FPgdXzDvaxfgX4ZU9oGvQi4aYE8RSe5mosHvrDICKXZm+ykDwdYRIA8lzFcwoCZu0K7N 2DLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Ljz2K44k; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d5-20020a636805000000b003c6cb3bcf9asi1557502pgc.358.2022.05.08.19.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:39:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=Ljz2K44k; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8554A76289; Sun, 8 May 2022 19:39:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376362AbiEDSGp (ORCPT + 99 others); Wed, 4 May 2022 14:06:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359841AbiEDSGM (ORCPT ); Wed, 4 May 2022 14:06:12 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC2E50446; Wed, 4 May 2022 10:21:38 -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=OkLWA35yCfirCuaQDiFaSQT4Boa4urpvOuCCHvvJHYY=; b=Ljz2K44kbkEWAxWCVMms4dlq58 Zf1GNhVarsNZg5PEr4tVA2F/hWLZZ363qtIsvRrZlSHxPdFg+XbEoGrzvZsTN1Mb2Js49thPtdpdQ o09qHJ4QZPvawQpzqwEU2yG+0hi8VZe0VlG06ePUNMcj9siU9ZxcUkhgG4Ay8/j1je9I=; Received: from p200300daa70ef200891a2ae4514fd280.dip0.t-ipconnect.de ([2003:da:a70e:f200:891a:2ae4:514f:d280] helo=Maecks.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nmIgs-0004Fq-Nr; Wed, 04 May 2022 19:21:30 +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: linux-pci@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3] PCI: mediatek-gen3: Change driver name to mtk-pcie-gen3 Date: Wed, 4 May 2022 19:21:27 +0200 Message-Id: <20220504172128.27489-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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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. 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