From: Marek Szyprowski Date: Tue, 7 Jun 2016 11:32:16 +0000 (-0300) Subject: [media] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) X-Git-Tag: v4.8-rc1~152^2~316 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=675f9bc7107c01f9459b2feb0d6064b399c16ca2;p=karo-tx-linux.git [media] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) This patch fixes build break caused by lack of dma-iommu API on ARM64 (this API is specific to ARM 32bit architecture). Signed-off-by: Marek Szyprowski --- diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h b/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h index 5d1d1c2922e8..6962132ae8fa 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h @@ -14,7 +14,7 @@ #define S5P_MFC_IOMMU_DMA_BASE 0x20000000lu #define S5P_MFC_IOMMU_DMA_SIZE SZ_256M -#ifdef CONFIG_EXYNOS_IOMMU +#if defined(CONFIG_EXYNOS_IOMMU) && defined(CONFIG_ARM_DMA_USE_IOMMU) #include