From: Chen-Yu Tsai Date: Thu, 26 Mar 2026 09:30:38 +0000 (+0800) Subject: drm/exynos/dma: Drop iommu_dma_init_domain() stub X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5633d4402ce140bbc6f5e3f7f75f9f7fc0cd6923;p=thirdparty%2Fkernel%2Flinux.git drm/exynos/dma: Drop iommu_dma_init_domain() stub 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 Acked-by: Marek Szyprowski Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_dma.c b/drivers/gpu/drm/exynos/exynos_drm_dma.c index bde2b86a7a7d..734741c80cbe 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dma.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dma.c @@ -24,10 +24,6 @@ #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