diff options
Diffstat (limited to 'arch/arm/plat-omap/include/mach/iommu.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/iommu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/mach/iommu.h b/arch/arm/plat-omap/include/mach/iommu.h index 769b00b4c34a..46d41ac83dbf 100644 --- a/arch/arm/plat-omap/include/mach/iommu.h +++ b/arch/arm/plat-omap/include/mach/iommu.h | |||
@@ -95,7 +95,7 @@ struct iommu_functions { | |||
95 | 95 | ||
96 | void (*save_ctx)(struct iommu *obj); | 96 | void (*save_ctx)(struct iommu *obj); |
97 | void (*restore_ctx)(struct iommu *obj); | 97 | void (*restore_ctx)(struct iommu *obj); |
98 | ssize_t (*dump_ctx)(struct iommu *obj, char *buf); | 98 | ssize_t (*dump_ctx)(struct iommu *obj, char *buf, ssize_t len); |
99 | }; | 99 | }; |
100 | 100 | ||
101 | struct iommu_platform_data { | 101 | struct iommu_platform_data { |
@@ -162,7 +162,7 @@ extern void uninstall_iommu_arch(const struct iommu_functions *ops); | |||
162 | extern int foreach_iommu_device(void *data, | 162 | extern int foreach_iommu_device(void *data, |
163 | int (*fn)(struct device *, void *)); | 163 | int (*fn)(struct device *, void *)); |
164 | 164 | ||
165 | extern ssize_t iommu_dump_ctx(struct iommu *obj, char *buf); | 165 | extern ssize_t iommu_dump_ctx(struct iommu *obj, char *buf, ssize_t len); |
166 | extern size_t dump_tlb_entries(struct iommu *obj, char *buf); | 166 | extern size_t dump_tlb_entries(struct iommu *obj, char *buf, ssize_t len); |
167 | 167 | ||
168 | #endif /* __MACH_IOMMU_H */ | 168 | #endif /* __MACH_IOMMU_H */ |