From: Roland Dreier Date: Fri, 16 Feb 2007 22:58:08 +0000 (-0800) Subject: IB/ipath: Make ipath_map_sg() static X-Git-Tag: upstream/snapshot3+hdmi~35798^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=630e61f2fa9bc842f1065ffa023aae8065a5ab23;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git IB/ipath: Make ipath_map_sg() static Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/ipath/ipath_dma.c b/drivers/infiniband/hw/ipath/ipath_dma.c index 6e0f2b8..f6f9490 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, BUG_ON(!valid_dma_direction(direction)); } -int ipath_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, - enum dma_data_direction direction) +static int ipath_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, + enum dma_data_direction direction) { u64 addr; int i;