Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3378278pxy; Tue, 4 May 2021 00:13:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqtY+sG+Ypu9c9SR88Yb3HIJObwUsJuJdfN1dpZkQ90qfqMTKxoH2oGtmW9U/nRu+yoAf+ X-Received: by 2002:a17:90a:a604:: with SMTP id c4mr3429501pjq.81.1620112423540; Tue, 04 May 2021 00:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620112423; cv=none; d=google.com; s=arc-20160816; b=vs4hX3QrNpGOlCIDrjnHVICDLkcSrqfdBog7v2KaZI1Z5dWvaZIAfw497EUEz22uPD OaNQpmx47A3RGuuWcF/qSaIUxNLNjJrknQE99OSGjvazUeDRC8hIu5m+VWFjIqkkWdc4 uW917i28cR8v1nc0cCK4oMlzF3Np6f95v/K5icVFbwQNDDmyaO7CvDmgDricr7joLnsE 879w4pxvfBqACSO6ORh1Jrc58MlrDShR5dPkS9fgqs5lAPzR4t8gAog7tEvRt33JXhIm CKktDIQ3rJdrVoV+32Q7kri48TfXAGhVnISiN4xHZ/6zjJJGDr/o6BQb+xkYEr85Rp3b w1yA== 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; bh=VdGiarZXX9MUOcXne40/szuZZtfrLueUUhnRFK4ClYc=; b=Exg3b28TnxoosLfXudxfpLFwqSZcxbvCtHFy2cxttZPBiViE1lnJmXqRhLT/8t1l7D Fxi+fo7aSq4hvPI9KsXg4UJTVoHkkYoQtgHa41CPweR1GdhOEae+fUwXYPetjNqj6Vs/ CmheNCgP8q/atjRfot+r4mCIKw8y91ekhFOEc0snuFWqN+hN1rZv6CeckqDld9r/9rJX S/c4a5n3rvYIGs3mRJsaGoDyQ1C5Vk1FgC4fllwnsaJTZfl3Rfodad4EYdGo9HUylYM7 xsGXPFbbs98aYlqMeYAvdPiQb30qSMtQha0Gk1sWLEJ0wX6aA7y2MJ9PFEi8oXcYXZLc mdgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si2256126pgr.56.2021.05.04.00.13.30; Tue, 04 May 2021 00:13:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbhEDHMO (ORCPT + 99 others); Tue, 4 May 2021 03:12:14 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:18341 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhEDHMN (ORCPT ); Tue, 4 May 2021 03:12:13 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FZ9tM3QQMzCqjG; Tue, 4 May 2021 15:08:43 +0800 (CST) Received: from huawei.com (10.175.100.227) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Tue, 4 May 2021 15:11:08 +0800 From: Tang Yizhou To: , , CC: , , , , Hulk Robot Subject: [PATCH -next] PCI: mediatek-gen3: Add missing MODULE_DEVICE_TABLE Date: Tue, 4 May 2021 15:28:38 +0800 Message-ID: <20210504072838.20093-1-tangyizhou@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.100.227] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Tang Yizhou --- drivers/pci/controller/pcie-mediatek-gen3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pcie-mediatek-gen3.c b/drivers/pci/controller/pcie-mediatek-gen3.c index 3c5b97716d40..f3aeb8d4eaca 100644 --- a/drivers/pci/controller/pcie-mediatek-gen3.c +++ b/drivers/pci/controller/pcie-mediatek-gen3.c @@ -1012,6 +1012,7 @@ static const struct of_device_id mtk_pcie_of_match[] = { { .compatible = "mediatek,mt8192-pcie" }, {}, }; +MODULE_DEVICE_TABLE(of, mtk_pcie_of_match); static struct platform_driver mtk_pcie_driver = { .probe = mtk_pcie_probe, -- 2.22.0