mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
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 <mmaddireddy@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-t264/+/3164961 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
bb8ac1d6be
commit
c51582e26e
@@ -10,8 +10,6 @@ obj-$(CONFIG_PCIE_TEGRA264) += pcie-tegra264.o
|
|||||||
obj-$(CONFIG_PCIE_TEGRA264_EP) += pcie-tegra264-ep.o
|
obj-$(CONFIG_PCIE_TEGRA264_EP) += pcie-tegra264-ep.o
|
||||||
|
|
||||||
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
||||||
ccflags-y += -DCONFIG_PCIE_TEGRA_DMA
|
|
||||||
|
|
||||||
obj-m += tegra-pcie-dma-lib.o
|
obj-m += tegra-pcie-dma-lib.o
|
||||||
|
|
||||||
tegra-pcie-dma-lib-objs:= tegra-pcie-dma.o \
|
tegra-pcie-dma-lib-objs:= tegra-pcie-dma.o \
|
||||||
|
|||||||
Reference in New Issue
Block a user