From c51582e26e7c7b3ae070dacb10eb291ec055d3b3 Mon Sep 17 00:00:00 2001 From: Manikanta Maddireddy Date: Wed, 26 Jun 2024 10:59:37 +0000 Subject: [PATCH] PCI: Enable CONFIG_PCIE_TEGRA_DMA flag in header file Tegra DMA driver functions are defined in nvidia-t264 repo and these functions are used in nvidia-oot repo. Prototypes of these functions are defined in nvidia-oot repo header file tegra-pcie-dma.h. Enable CONFIG_PCIE_TEGRA_DMA flag to expose the function prototypes to the drivers in nvidia-oot repo. This functions should be exposed only if nvidia-t264 drivers are included in kernel compilation. Bug 4712065 Change-Id: I74bb98bd9efbf2e36ed05aae866760a92a4ee7dd Signed-off-by: Manikanta Maddireddy Reviewed-on: https://git-master.nvidia.com/r/c/linux-t264/+/3164961 GVS: buildbot_gerritrpt Reviewed-by: Nagarjuna Kristam Reviewed-by: Bibek Basu --- drivers/pci/controller/private-soc/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/controller/private-soc/Makefile b/drivers/pci/controller/private-soc/Makefile index 2d4a06c5..4076a200 100644 --- a/drivers/pci/controller/private-soc/Makefile +++ b/drivers/pci/controller/private-soc/Makefile @@ -10,8 +10,6 @@ obj-$(CONFIG_PCIE_TEGRA264) += pcie-tegra264.o obj-$(CONFIG_PCIE_TEGRA264_EP) += pcie-tegra264-ep.o ifeq ($(CONFIG_TEGRA_OOT_MODULE),m) -ccflags-y += -DCONFIG_PCIE_TEGRA_DMA - obj-m += tegra-pcie-dma-lib.o tegra-pcie-dma-lib-objs:= tegra-pcie-dma.o \