aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-04-12 01:21:28 -0400
committerJoerg Roedel <jroedel@suse.de>2017-04-20 10:33:58 -0400
commite73b7afe4e8ca5ec4304a9e1d5009755a85fff91 (patch)
treee5f67ea8f0826768d1bdc3f9aee71a20a89f0129 /include/linux/platform_data
parent49a57ef7f8492ef985ee1ecdb927ca78a6b2f308 (diff)
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')
-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 @@
12 12
13#include <linux/platform_device.h> 13#include <linux/platform_device.h>
14 14
15#define MMU_REG_SIZE 256
16
17/**
18 * struct iommu_arch_data - omap iommu private data
19 * @name: name of the iommu device
20 * @iommu_dev: handle of the iommu device
21 *
22 * This is an omap iommu private data object, which binds an iommu user
23 * to its iommu device. This object should be placed at the iommu user's
24 * dev_archdata so generic IOMMU API can be used without having to
25 * utilize omap-specific plumbing anymore.
26 */
27struct omap_iommu_arch_data {
28 const char *name;
29 struct omap_iommu *iommu_dev;
30};
31
32struct iommu_platform_data { 15struct iommu_platform_data {
33 const char *reset_name; 16 const char *reset_name;
34 int (*assert_reset)(struct platform_device *pdev, const char *name); 17 int (*assert_reset)(struct platform_device *pdev, const char *name);