]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/exynos/dma: Drop iommu_dma_init_domain() stub
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 26 Mar 2026 09:30:38 +0000 (17:30 +0800)
committerInki Dae <inki.dae@samsung.com>
Thu, 21 May 2026 13:47:23 +0000 (22:47 +0900)
Commit 1feda5eb77fc ("drm/exynos: Use selected dma_dev default iommu
domain instead of a fake one") removed the code around creating a
custom IOMMU domain, but forgot to remove the stub.

Remove the iommu_dma_init_domain() stub as the function is no longer
referenced, and was also made private to the IOMMU DMA code.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dma.c

index bde2b86a7a7da25c80b3cb55592019890d66d195..734741c80cbe880d32f20e13519097eccb7fe758 100644 (file)
 #define to_dma_iommu_mapping(dev) NULL
 #endif
 
-#if !defined(CONFIG_IOMMU_DMA)
-#define iommu_dma_init_domain(...) ({ -EINVAL; })
-#endif
-
 #define EXYNOS_DEV_ADDR_START  0x20000000
 #define EXYNOS_DEV_ADDR_SIZE   0x40000000