diff options
| author | David Cohen <dacohen@gmail.com> | 2011-02-15 06:31:13 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-02-17 18:48:00 -0500 |
| commit | 4f85f99b1e9ae9d62e3ea9f0cd3827020e0d9ba2 (patch) | |
| tree | 35e39839c2029842c89e6c15d8f38fca4c982a3d | |
| parent | 405505c2b7b9f8a2d2b90e9e7fb4590b059e15dd (diff) | |
omap: IOMMU: add missing function declaration
Declaration of exported function 'iopgtable_lookup_entry' is missing from
header file. Currently we have a sparse warning as it's not being used
externally. Adding its declaration to avoid such warning and allow its usage
in future.
Signed-off-by: David Cohen <dacohen@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
| -rw-r--r-- | arch/arm/plat-omap/include/plat/iommu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h index 69230d685538..19cbb5e9ece2 100644 --- a/arch/arm/plat-omap/include/plat/iommu.h +++ b/arch/arm/plat-omap/include/plat/iommu.h | |||
| @@ -154,6 +154,8 @@ extern void flush_iotlb_range(struct iommu *obj, u32 start, u32 end); | |||
| 154 | extern void flush_iotlb_all(struct iommu *obj); | 154 | extern void flush_iotlb_all(struct iommu *obj); |
| 155 | 155 | ||
| 156 | extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e); | 156 | extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e); |
| 157 | extern void iopgtable_lookup_entry(struct iommu *obj, u32 da, u32 **ppgd, | ||
| 158 | u32 **ppte); | ||
| 157 | extern size_t iopgtable_clear_entry(struct iommu *obj, u32 iova); | 159 | extern size_t iopgtable_clear_entry(struct iommu *obj, u32 iova); |
| 158 | 160 | ||
| 159 | extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end); | 161 | extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end); |
