From: Joerg Roedel Date: Thu, 13 Aug 2015 09:32:18 +0000 (+0200) Subject: iommu/vt-d: Make two functions static X-Git-Tag: v4.14-rc1~4724^2^6~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b690420a406256c83ef2c7e96466052e5cab7676;p=platform%2Fkernel%2Flinux-rpi.git iommu/vt-d: Make two functions static These functions are only used in that file and can be static. Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 2a7e017..93f16aa 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -1210,9 +1210,9 @@ next: /* We can't just free the pages because the IOMMU may still be walking the page tables, and may have cached the intermediate levels. The pages can only be freed after the IOTLB flush has been done. */ -struct page *domain_unmap(struct dmar_domain *domain, - unsigned long start_pfn, - unsigned long last_pfn) +static struct page *domain_unmap(struct dmar_domain *domain, + unsigned long start_pfn, + unsigned long last_pfn) { struct page *freelist = NULL; @@ -1236,7 +1236,7 @@ struct page *domain_unmap(struct dmar_domain *domain, return freelist; } -void dma_free_pagelist(struct page *freelist) +static void dma_free_pagelist(struct page *freelist) { struct page *pg;