diff options
Diffstat (limited to 'kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h')
-rw-r--r-- | kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h b/kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h index 35d25889b..dc1b5441f 100644 --- a/kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h +++ b/kernel/drivers/gpu/drm/exynos/exynos_drm_iommu.h @@ -29,13 +29,9 @@ void drm_iommu_detach_device(struct drm_device *dev_dev, static inline bool is_drm_iommu_supported(struct drm_device *drm_dev) { -#ifdef CONFIG_ARM_DMA_USE_IOMMU struct device *dev = drm_dev->dev; return dev->archdata.mapping ? true : false; -#else - return false; -#endif } #else |