diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_dma.c b/drivers/infiniband/hw/ipath/ipath_dma.c index 6e0f2b8918ce..f6f949040825 100644 --- a/drivers/infiniband/hw/ipath/ipath_dma.c +++ b/drivers/infiniband/hw/ipath/ipath_dma.c | |||
@@ -96,8 +96,8 @@ static void ipath_dma_unmap_page(struct ib_device *dev, | |||
96 | BUG_ON(!valid_dma_direction(direction)); | 96 | BUG_ON(!valid_dma_direction(direction)); |
97 | } | 97 | } |
98 | 98 | ||
99 | int ipath_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, | 99 | static int ipath_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, |
100 | enum dma_data_direction direction) | 100 | enum dma_data_direction direction) |
101 | { | 101 | { |
102 | u64 addr; | 102 | u64 addr; |
103 | int i; | 103 | int i; |