aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-19 19:02:13 -0500
committerRoland Dreier <rolandd@cisco.com>2007-02-20 23:12:02 -0500
commitc9add6ec5678a17345c2516ea3d4b26d8703be8b (patch)
tree8718929eca5ae5997986bd8c92714e05e1ab7760 /drivers/infiniband
parentf1d2120487de3620ff47367d7bc0e290dc868c47 (diff)
IB/mthca: Make 2 functions static
This patch makes the needlessly global functions mthca_tavor_write_mtt_seg() and mthca_arbel_write_mtt_seg() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_mr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_mr.c b/drivers/infiniband/hw/mthca/mthca_mr.c
index 6037dd3f87df..8e4846b5c641 100644
--- a/drivers/infiniband/hw/mthca/mthca_mr.c
+++ b/drivers/infiniband/hw/mthca/mthca_mr.c
@@ -310,8 +310,9 @@ int mthca_write_mtt_size(struct mthca_dev *dev)
310 return mthca_is_memfree(dev) ? (PAGE_SIZE / sizeof (u64)) : 0x7ffffff; 310 return mthca_is_memfree(dev) ? (PAGE_SIZE / sizeof (u64)) : 0x7ffffff;
311} 311}
312 312
313void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, 313static void mthca_tavor_write_mtt_seg(struct mthca_dev *dev,
314 int start_index, u64 *buffer_list, int list_len) 314 struct mthca_mtt *mtt, int start_index,
315 u64 *buffer_list, int list_len)
315{ 316{
316 u64 __iomem *mtts; 317 u64 __iomem *mtts;
317 int i; 318 int i;
@@ -323,8 +324,9 @@ void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt,
323 mtts + i); 324 mtts + i);
324} 325}
325 326
326void mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, 327static void mthca_arbel_write_mtt_seg(struct mthca_dev *dev,
327 int start_index, u64 *buffer_list, int list_len) 328 struct mthca_mtt *mtt, int start_index,
329 u64 *buffer_list, int list_len)
328{ 330{
329 __be64 *mtts; 331 __be64 *mtts;
330 dma_addr_t dma_handle; 332 dma_addr_t dma_handle;