summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-13 11:18:18 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-03-18 05:58:34 +0100
commit43ecec16c4face9a59e81771e7cbff4671c62117 (patch)
treeca6f40fedfd661743ee9819d2fe861770d656a91 /drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
parentmedia: platform: rename s5p-jpeg/ to samsung/s5p-jpeg/ (diff)
downloadlinux-43ecec16c4face9a59e81771e7cbff4671c62117.tar.xz
linux-43ecec16c4face9a59e81771e7cbff4671c62117.zip
media: platform: rename s5p-mfc/ to samsung/s5p-mfc/
As the end goal is to have platform drivers split by vendor, rename s5p-mfc/ to samsung/s5p-mfc/. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h')
-rw-r--r--drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h b/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
deleted file mode 100644
index 1a32266b7ddc..000000000000
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (C) 2015 Samsung Electronics Co.Ltd
- * Authors: Marek Szyprowski <m.szyprowski@samsung.com>
- */
-
-#ifndef S5P_MFC_IOMMU_H_
-#define S5P_MFC_IOMMU_H_
-
-#if defined(CONFIG_EXYNOS_IOMMU)
-
-#include <linux/iommu.h>
-
-static inline bool exynos_is_iommu_available(struct device *dev)
-{
- return dev_iommu_priv_get(dev) != NULL;
-}
-
-#else
-
-static inline bool exynos_is_iommu_available(struct device *dev)
-{
- return false;
-}
-
-#endif
-
-#endif /* S5P_MFC_IOMMU_H_ */