projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38abaa6
)
IB/ipath: Make ipath_map_sg() static
author
Roland Dreier
<rolandd@cisco.com>
Fri, 16 Feb 2007 22:58:08 +0000
(14:58 -0800)
committer
Roland 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
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_dma.c
b/drivers/infiniband/hw/ipath/ipath_dma.c
index 6e0f2b8918ce893ce746fba86726e9140185df32..f6f9490408258da1c8e49b09a54a362e48930ff0 100644
(file)
--- 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;