]> err.no Git - linux-2.6/commitdiff
e1000e: make a function static
authorAdrian Bunk <bunk@kernel.org>
Fri, 1 Feb 2008 16:21:18 +0000 (08:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:27:56 +0000 (04:27 -0800)
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>
drivers/net/e1000e/ethtool.c

index 9fab444635737c0177ec11a56cb8844c4cd954e5..f77a7427d3a079bf9ad714bf9cfc8f416851fb59 100644 (file)
@@ -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;