|
@@ -235,7 +235,7 @@ static dma_addr_t gart_map_simple(struct device *dev, char *buf,
|
|
|
}
|
|
|
|
|
|
/* Map a single area into the IOMMU */
|
|
|
-dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir)
|
|
|
+static dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir)
|
|
|
{
|
|
|
unsigned long phys_mem, bus;
|
|
|
|
|
@@ -253,7 +253,7 @@ dma_addr_t gart_map_single(struct device *dev, void *addr, size_t size, int dir)
|
|
|
/*
|
|
|
* Free a DMA mapping.
|
|
|
*/
|
|
|
-void gart_unmap_single(struct device *dev, dma_addr_t dma_addr,
|
|
|
+static void gart_unmap_single(struct device *dev, dma_addr_t dma_addr,
|
|
|
size_t size, int direction)
|
|
|
{
|
|
|
unsigned long iommu_page;
|
|
@@ -275,7 +275,7 @@ void gart_unmap_single(struct device *dev, dma_addr_t dma_addr,
|
|
|
/*
|
|
|
* Wrapper for pci_unmap_single working with scatterlists.
|
|
|
*/
|
|
|
-void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir)
|
|
|
+static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, int dir)
|
|
|
{
|
|
|
int i;
|
|
|
|