netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] e1000e/ethtool.c: make a function static
@ 2008-01-30 20:02 Adrian Bunk
  2008-01-30 21:51 ` Kok, Auke
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
  To: Joe Perches, Auke Kok, Jeff Garzik, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak
  Cc: e1000-devel, netdev, linux-kernel

This patch makes the needlessly global reg_pattern_test_array() static.

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

---
ed72e457f06311390d9a9e51a00c904939466aff 
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c
index 6d9c27f..a2034cf 100644
--- a/drivers/net/e1000e/ethtool.c
+++ b/drivers/net/e1000e/ethtool.c
@@ -690,8 +690,8 @@ err_setup:
 	return err;
 }
 
-bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data,
-			    int reg, int offset, u32 mask, u32 write)
+static bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data,
+				   int reg, int offset, u32 mask, u32 write)
 {
 	int i;
 	u32 read;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-30 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] e1000e/ethtool.c: make a function static Adrian Bunk
2008-01-30 21:51 ` Kok, Auke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).