aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-01 11:21:18 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:27:56 -0500
commit5cfe33d66cee877d2a9575e5bff25519ac44f0de (patch)
tree60d948c6e1aba8d48df576679d4d9e825580336e /drivers/net
parent915e91d734d33ad303313e05582769dbbefff3b2 (diff)
e1000e: make a function static
This patch makes the needlessly global reg_pattern_test_array() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/e1000e/ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c
index 9fab44463573..f77a7427d3a0 100644
--- a/drivers/net/e1000e/ethtool.c
+++ b/drivers/net/e1000e/ethtool.c
@@ -690,8 +690,8 @@ err_setup:
690 return err; 690 return err;
691} 691}
692 692
693bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data, 693static bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data,
694 int reg, int offset, u32 mask, u32 write) 694 int reg, int offset, u32 mask, u32 write)
695{ 695{
696 int i; 696 int i;
697 u32 read; 697 u32 read;