Skip to contentSkip to conversation

OMAP: IOMMU: add missing function declaration

PATCH New David Cohen 3 participants 3 messages Feb 15, 2011 – Feb 17, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 arch/arm/plat-omap/include/plat/iommu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-omap/include/plat/iommu.h +2 -0
index 69230d6..19cbb5e 100644
@@ -154,6 +154,8 @@ extern void flush_iotlb_range(struct iommu *obj, u32 start, u32 end);
 extern void flush_iotlb_all(struct iommu *obj);
 
 extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e);
+extern void iopgtable_lookup_entry(struct iommu *obj, u32 da, u32 **ppgd,
+				   u32 **ppte);
 extern size_t iopgtable_clear_entry(struct iommu *obj, u32 iova);
 
 extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end);
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH v2 1/1 OMAP: IOMMU: add missing function declaration

From: David Cohen <[email protected]>
Subject: [PATCH v2] OMAP: IOMMU: add missing function declaration
Date: Tue, 15 Feb 2011 13:31:13 +0200

Quoted 9 lines

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.

---
 arch/arm/plat-omap/include/plat/iommu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Thanks. Tony, Please put this into your queue.

#2 lore raw

PATCH v2 1/1 OMAP: IOMMU: add missing function declaration

Quoted 9 lines · Hiroshi DOYU

From: David Cohen <[email protected]>
Subject: [PATCH v2] OMAP: IOMMU: add missing function declaration
Date: Tue, 15 Feb 2011 13:31:13 +0200

Quoted 5 lines

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.

Quoted 6 lines
Quoted 4 lines
---
 arch/arm/plat-omap/include/plat/iommu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Thanks. Tony, Please put this into your queue.

Adding to devel-cleanup for the upcoming merge window.

Tony