summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/iommu-omap.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-04-12 00:21:28 -0500
committerJoerg Roedel <jroedel@suse.de>2017-04-20 16:33:58 +0200
commite73b7afe4e8ca5ec4304a9e1d5009755a85fff91 (patch)
treee5f67ea8f0826768d1bdc3f9aee71a20a89f0129 /include/linux/platform_data/iommu-omap.h
parent49a57ef7f8492ef985ee1ecdb927ca78a6b2f308 (diff)
downloadlinux-e73b7afe4e8ca5ec4304a9e1d5009755a85fff91.tar.gz
linux-e73b7afe4e8ca5ec4304a9e1d5009755a85fff91.tar.bz2
linux-e73b7afe4e8ca5ec4304a9e1d5009755a85fff91.zip
iommu/omap: Move data structures to omap-iommu.h
The internal data-structures are scattered over various header and C files. Consolidate them in omap-iommu.h. While at this, add the kerneldoc comment for the missing iommu domain variable and revise the iommu_arch_data name. Signed-off-by: Joerg Roedel <jroedel@suse.de> [s-anna@ti.com: revise kerneldoc comments] Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/platform_data/iommu-omap.h')
-rw-r--r--include/linux/platform_data/iommu-omap.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/platform_data/iommu-omap.h b/include/linux/platform_data/iommu-omap.h
index a40fc0f4f9de..e8b12dbf6170 100644
--- a/include/linux/platform_data/iommu-omap.h
+++ b/include/linux/platform_data/iommu-omap.h
@@ -12,23 +12,6 @@
#include <linux/platform_device.h>
-#define MMU_REG_SIZE 256
-
-/**
- * struct iommu_arch_data - omap iommu private data
- * @name: name of the iommu device
- * @iommu_dev: handle of the iommu device
- *
- * This is an omap iommu private data object, which binds an iommu user
- * to its iommu device. This object should be placed at the iommu user's
- * dev_archdata so generic IOMMU API can be used without having to
- * utilize omap-specific plumbing anymore.
- */
-struct omap_iommu_arch_data {
- const char *name;
- struct omap_iommu *iommu_dev;
-};
-
struct iommu_platform_data {
const char *reset_name;
int (*assert_reset)(struct platform_device *pdev, const char *name);