diff --git a/drivers/pci/controller/private-soc/Makefile b/drivers/pci/controller/private-soc/Makefile index fd817aca..0327df74 100644 --- a/drivers/pci/controller/private-soc/Makefile +++ b/drivers/pci/controller/private-soc/Makefile @@ -8,3 +8,9 @@ # file is just place-holder for empty Makefile to avoid any build # issue when copy is not done from command line and building # the tree independent of source copy. + +# Exception: Adding the dummy driver for T264. It will be override by actual +# SOC specific driver. + +obj-m += pcie-tegra264.o +pcie-tegra264-objs := pcie-tegra-soc-dummy.o diff --git a/drivers/pci/controller/private-soc/pcie-tegra-soc-dummy.c b/drivers/pci/controller/private-soc/pcie-tegra-soc-dummy.c new file mode 100644 index 00000000..c9ebe960 --- /dev/null +++ b/drivers/pci/controller/private-soc/pcie-tegra-soc-dummy.c @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. + +#include + +/* 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 "); +MODULE_DESCRIPTION("PCIE tegra dummy driver"); +MODULE_LICENSE("GPL");