Преглед на файлове

IB/ipath: Make ipath_map_sg() static

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier преди 18 години
родител
ревизия
630e61f2fa
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      drivers/infiniband/hw/ipath/ipath_dma.c

+ 2 - 2
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));
 	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;
 	u64 addr;
 	int i;
 	int i;