diff options
-rw-r--r-- | drivers/iommu/omap-iommu.c | 6 | ||||
-rw-r--r-- | drivers/iommu/omap-iommu.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index 91711126cb25..3dcaef068382 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
@@ -511,7 +511,6 @@ ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) | |||
511 | 511 | ||
512 | return bytes; | 512 | return bytes; |
513 | } | 513 | } |
514 | EXPORT_SYMBOL_GPL(omap_iommu_dump_ctx); | ||
515 | 514 | ||
516 | static int | 515 | static int |
517 | __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num) | 516 | __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num) |
@@ -579,7 +578,6 @@ size_t omap_dump_tlb_entries(struct omap_iommu *obj, char *buf, ssize_t bytes) | |||
579 | 578 | ||
580 | return p - buf; | 579 | return p - buf; |
581 | } | 580 | } |
582 | EXPORT_SYMBOL_GPL(omap_dump_tlb_entries); | ||
583 | 581 | ||
584 | #endif /* CONFIG_OMAP_IOMMU_DEBUG */ | 582 | #endif /* CONFIG_OMAP_IOMMU_DEBUG */ |
585 | 583 | ||
@@ -764,7 +762,8 @@ iopgtable_store_entry_core(struct omap_iommu *obj, struct iotlb_entry *e) | |||
764 | * @obj: target iommu | 762 | * @obj: target iommu |
765 | * @e: an iommu tlb entry info | 763 | * @e: an iommu tlb entry info |
766 | **/ | 764 | **/ |
767 | int omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e) | 765 | static int |
766 | omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e) | ||
768 | { | 767 | { |
769 | int err; | 768 | int err; |
770 | 769 | ||
@@ -774,7 +773,6 @@ int omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e) | |||
774 | prefetch_iotlb_entry(obj, e); | 773 | prefetch_iotlb_entry(obj, e); |
775 | return err; | 774 | return err; |
776 | } | 775 | } |
777 | EXPORT_SYMBOL_GPL(omap_iopgtable_store_entry); | ||
778 | 776 | ||
779 | /** | 777 | /** |
780 | * iopgtable_lookup_entry - Lookup an iommu pte entry | 778 | * iopgtable_lookup_entry - Lookup an iommu pte entry |
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h index b18ceccd4845..d736630df3c8 100644 --- a/drivers/iommu/omap-iommu.h +++ b/drivers/iommu/omap-iommu.h | |||
@@ -190,9 +190,6 @@ static inline struct omap_iommu *dev_to_omap_iommu(struct device *dev) | |||
190 | /* | 190 | /* |
191 | * global functions | 191 | * global functions |
192 | */ | 192 | */ |
193 | extern int | ||
194 | omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e); | ||
195 | |||
196 | #ifdef CONFIG_OMAP_IOMMU_DEBUG | 193 | #ifdef CONFIG_OMAP_IOMMU_DEBUG |
197 | extern ssize_t | 194 | extern ssize_t |
198 | omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t len); | 195 | omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t len); |