Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3851065pxv; Mon, 19 Jul 2021 10:14:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjc6RYB8krnXEnY+jAbmPsnOab1ME+IV4eQkFfgHUV3k+D5N+/DmveBHDCRMfUJHPf6Ft5 X-Received: by 2002:a05:6402:1ca4:: with SMTP id cz4mr35809794edb.52.1626714858101; Mon, 19 Jul 2021 10:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626714858; cv=none; d=google.com; s=arc-20160816; b=rPtN5J0Y0yC2BIiduA2ltTuVloXmunCgvsuRjNAlMZDAV2QmHTNVJAxUqgsfSOn1tu 9q03ry3j8JqBNoIyPWMUGzMAPoRThhQ2ZTTL86rZGrvEZXJeUGtoscYSsn9az1oPkobu F6hxHcD9TWFi0IJZkEEfhYDi8GkQ2KGpUNCEArnCXOdIbh5rXMrTvu7m3Fj+Jr9vSuTM wUduxghqsXuoXdQMwN093TTclktd+jRvCo6iLsd325hiO3qN2B4yKQheixCrmj0REvvl /nbT25asQAlxQJo0KCAOqTkkLji4/NqW5QJiZ5qNtlMeEmHS3K2gHFfuMlBX7zDIHZMU h6ow== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xLoDiGIt4SibyyGWnJbeLAjORK9RidEwzigu5XkwQ8Y=; b=LIH/6P3JO4G80bPXYHthN/BkiRF1f5Z/l8CeKrEBS4q1vgteO9ekKmC66IaXAGeZgW oI4dS/JaxYXOn5LFFJ92EfMjtwUvt8n0Kkydhe/9EioSawIV9L6qPxnHbTrhjigSRc9r YCBfLRY1iuz5P8vcAHTmKCLQawlszcbam+Z3Ny/+AlGW/nzmlUfK/KTVR2XYK8oCrthO UmJAMQeLJZ4C/NXDotVkRdD7U9LGISFrP+W+vN/s6rALu+sFAMllHPnRGqGP6JLKLv4Q JbImmrb5jRhd0K8Bt+nm7prwf+TPu+uxAuMKBrdRtL3i+sAZ6yKYGQKwUqsZN9rulAnj h1Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HnXFSiLs; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 18si22867881ejj.476.2021.07.19.10.13.55; Mon, 19 Jul 2021 10:14:18 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HnXFSiLs; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351844AbhGSQcX (ORCPT + 99 others); Mon, 19 Jul 2021 12:32:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:58060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346037AbhGSPQ5 (ORCPT ); Mon, 19 Jul 2021 11:16:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4590761279; Mon, 19 Jul 2021 15:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710230; bh=7zuqEJtcX/xnHOsRzILBcADqTxEWzA2lE8i1F+mGGWc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HnXFSiLsfC5GHXX+HTv6YRL6bLbjT6LqQb/hAS3wesRJAJTQuCQZrXweCp5V6+bfN kAlGkmnEQImycVrsMftlJqvhjhMSezliL5GMFZ8ZwZm2ts7peMh6GMGkqYpPzCBGZM qcQzt3YkAl5VUyxf7igRTWoR1sRKVtI5SwSJzCc8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zou Wei , Lorenzo Pieralisi , Bjorn Helgaas , Vidya Sagar , Thierry Reding , Sasha Levin Subject: [PATCH 5.10 130/243] PCI: tegra: Add missing MODULE_DEVICE_TABLE Date: Mon, 19 Jul 2021 16:52:39 +0200 Message-Id: <20210719144945.112278753@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei [ Upstream commit 7bf475a4614a9722b9b989e53184a02596cf16d1 ] Add missing MODULE_DEVICE_TABLE definition so we generate correct modalias for automatic loading of this driver when it is built as a module. Link: https://lore.kernel.org/r/1620792422-16535-1-git-send-email-zou_wei@huawei.com Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Lorenzo Pieralisi Signed-off-by: Bjorn Helgaas Reviewed-by: Vidya Sagar Acked-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/pci/controller/pci-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c index 8fcabed7c6a6..1a2af963599c 100644 --- a/drivers/pci/controller/pci-tegra.c +++ b/drivers/pci/controller/pci-tegra.c @@ -2506,6 +2506,7 @@ static const struct of_device_id tegra_pcie_of_match[] = { { .compatible = "nvidia,tegra20-pcie", .data = &tegra20_pcie }, { }, }; +MODULE_DEVICE_TABLE(of, tegra_pcie_of_match); static void *tegra_pcie_ports_seq_start(struct seq_file *s, loff_t *pos) { -- 2.30.2