mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
The L4T packaging needs the soc specific dummy driver to be available always. However, it is not available in generic build and it creates the packaging/configuration fail. Add soc specific dummy driver for pcie so that the respective binary should be available always. Bug 4695516 Change-Id: Ic40e60a12de35cebc7e9acec9b09e39aa267276b Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3154314 Tested-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
16 lines
444 B
C
16 lines
444 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#include <linux/module.h>
|
|
|
|
/* Dummy implementation for module */
|
|
static int __init pcie_tegra_soc_dummy_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
device_initcall(pcie_tegra_soc_dummy_init);
|
|
|
|
MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
|
|
MODULE_DESCRIPTION("PCIE tegra dummy driver");
|
|
MODULE_LICENSE("GPL");
|