diff options
-rw-r--r-- | arch/x86_64/kernel/pci-gart.c | 6 | ||||
-rw-r--r-- | arch/x86_64/kernel/pci-nommu.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index ae091cdc1a4d..e587b65e754f 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c | |||
@@ -235,7 +235,7 @@ static dma_addr_t gart_map_simple(struct device *dev, char *buf, | |||
235 | } | 235 | } |
236 | 236 | ||
237 | /* Map a single area into the IOMMU */ | 237 | /* Map a single area into the IOMMU */ |
238 | dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir) | 238 | static dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir) |
239 | { | 239 | { |
240 | unsigned long phys_mem, bus; | 240 | unsigned long phys_mem, bus; |
241 | 241 | ||
@@ -253,7 +253,7 @@ dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir) | |||
253 | /* | 253 | /* |
254 | * Free a DMA mapping. | 254 | * Free a DMA mapping. |
255 | */ | 255 | */ |
256 | void gart_unmap_single(struct device *dev, dma_addr_t dma_addr, | 256 | static void gart_unmap_single(struct device *dev, dma_addr_t dma_addr, |
257 | size_t size, int direction) | 257 | size_t size, int direction) |
258 | { | 258 | { |
259 | unsigned long iommu_page; | 259 | unsigned long iommu_page; |
@@ -275,7 +275,7 @@ void gart_unmap_single(struct device *dev, dma_addr_t dma_addr, | |||
275 | /* | 275 | /* |
276 | * Wrapper for pci_unmap_single working with scatterlists. | 276 | * Wrapper for pci_unmap_single working with scatterlists. |
277 | */ | 277 | */ |
278 | void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) | 278 | static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) |
279 | { | 279 | { |
280 | int i; | 280 | int i; |
281 | 281 | ||
diff --git a/arch/x86_64/kernel/pci-nommu.c b/arch/x86_64/kernel/pci-nommu.c index 6dade0c867cc..fe4aa19aa849 100644 --- a/arch/x86_64/kernel/pci-nommu.c +++ b/arch/x86_64/kernel/pci-nommu.c | |||
@@ -34,7 +34,7 @@ nommu_map_single(struct device *hwdev, void *ptr, size_t size, | |||
34 | return bus; | 34 | return bus; |
35 | } | 35 | } |
36 | 36 | ||
37 | void nommu_unmap_single(struct device *dev, dma_addr_t addr,size_t size, | 37 | static void nommu_unmap_single(struct device *dev, dma_addr_t addr,size_t size, |
38 | int direction) | 38 | int direction) |
39 | { | 39 | { |
40 | } | 40 | } |
@@ -54,7 +54,7 @@ void nommu_unmap_single(struct device *dev, dma_addr_t addr,size_t size, | |||
54 | * Device ownership issues as mentioned above for pci_map_single are | 54 | * Device ownership issues as mentioned above for pci_map_single are |
55 | * the same here. | 55 | * the same here. |
56 | */ | 56 | */ |
57 | int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, | 57 | static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, |
58 | int nents, int direction) | 58 | int nents, int direction) |
59 | { | 59 | { |
60 | int i; | 60 | int i; |
@@ -74,7 +74,7 @@ int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, | |||
74 | * Again, cpu read rules concerning calls here are the same as for | 74 | * Again, cpu read rules concerning calls here are the same as for |
75 | * pci_unmap_single() above. | 75 | * pci_unmap_single() above. |
76 | */ | 76 | */ |
77 | void nommu_unmap_sg(struct device *dev, struct scatterlist *sg, | 77 | static void nommu_unmap_sg(struct device *dev, struct scatterlist *sg, |
78 | int nents, int dir) | 78 | int nents, int dir) |
79 | { | 79 | { |
80 | } | 80 | } |