IB/ipath: Make ipath_map_sg() static
authorRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 22:58:08 +0000 (14:58 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 22:58:08 +0000 (14:58 -0800)
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_dma.c

index 6e0f2b8918ce893ce746fba86726e9140185df32..f6f9490408258da1c8e49b09a54a362e48930ff0 100644 (file)
@@ -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;