projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5494c22
)
IB/mthca: make a function static
author
Adrian Bunk
<bunk@stusta.de>
Tue, 18 Apr 2006 22:15:35 +0000
(
00:15
+0200)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 19 Apr 2006 18:40:12 +0000
(11:40 -0700)
This patch makes the needlessly global mthca_update_rate() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_mad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_mad.c
b/drivers/infiniband/hw/mthca/mthca_mad.c
index f235c7ea42f07d7ed4e6d5aee255e834d7fdc2a6..4730863ece9a398c89e62c366d2f112d81b509f4 100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_mad.c
+++ b/
drivers/infiniband/hw/mthca/mthca_mad.c
@@
-49,7
+49,7
@@
enum {
MTHCA_VENDOR_CLASS2 = 0xa
};
-int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
+
static
int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
{
struct ib_port_attr *tprops = NULL;
int ret;