mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
Fix build errors when this driver compiled against K6.1 (kernel-oot) - Remove dma-iommu.h header inclusion as its not present in K6.1 - Define IOVA_RANGE_CACHE_MAX_SIZE if this macro is not defined - Import DMA_BUF "MODULE_IMPORT_NS(DMA_BUF);" to avoid below error "ERROR: modpost: module nvscic2c-pcie-epc uses symbol dma_buf_* from namespace DMA_BUF, but does not import it" Bug 3978996 Change-Id: Idd9a53b19c63467583b87f64ffa2c2e888ac02e1 Signed-off-by: Shardar Mohammed <smohammed@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2898149 Reviewed-by: Deepak Kumar Badgaiyan <dbadgaiyan@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
1.2 KiB
1.2 KiB