[2.6 patch] make myri10ge_get_firmware_capabilities() static

STALE6682d

3 messages, 3 authors, 2008-05-22 · open the first message on its own page

[2.6 patch] make myri10ge_get_firmware_capabilities() static

From: Adrian Bunk <bunk@kernel.org>
Date: 2008-05-19 21:55:22

This patch makes the needlessly global 
myri10ge_get_firmware_capabilities() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index c91b12e..36be6ef 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp)
 	return status;
 }
 
-int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
+static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
 {
 	struct myri10ge_cmd cmd;
 	int status;

Re: [2.6 patch] make myri10ge_get_firmware_capabilities() static

From: Brice Goglin <hidden>
Date: 2008-05-20 06:15:46

Adrian Bunk wrote:
This patch makes the needlessly global 
myri10ge_get_firmware_capabilities() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
  
Acked-by: Brice Goglin <redacted>
quoted hunk
---
0442d0c2cb767d312f5264cc226a1595c47f3dbf diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index c91b12e..36be6ef 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -631,7 +631,7 @@ static int myri10ge_adopt_running_firmware(struct myri10ge_priv *mgp)
 	return status;
 }
 
-int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
+static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
 {
 	struct myri10ge_cmd cmd;
 	int status;

  

Re: [2.6 patch] make myri10ge_get_firmware_capabilities() static

From: Jeff Garzik <hidden>
Date: 2008-05-22 10:21:17

Adrian Bunk wrote:
This patch makes the needlessly global 
myri10ge_get_firmware_capabilities() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
applied

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help