diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-05-12 12:07:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:16:11 +0200 |
commit | ef50bb9ea1f1370d2cc1c54184c773a9b0644bc8 (patch) | |
tree | 0406b657b3c2ff1378de46d984bc01a86ce36828 | |
parent | 9311a0c9d36caf95555fa2af2e8fc84ec1a81645 (diff) | |
download | linux-stable-ef50bb9ea1f1370d2cc1c54184c773a9b0644bc8.tar.gz linux-stable-ef50bb9ea1f1370d2cc1c54184c773a9b0644bc8.tar.bz2 linux-stable-ef50bb9ea1f1370d2cc1c54184c773a9b0644bc8.zip |
PCI: tegra: Add missing MODULE_DEVICE_TABLE
[ 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 <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/pci/controller/pci-tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c index 097c02197ec8..1f8dd5ca02a9 100644 --- a/drivers/pci/controller/pci-tegra.c +++ b/drivers/pci/controller/pci-tegra.c @@ -2245,6 +2245,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) { |