From: Adrian Bunk Date: Fri, 1 Feb 2008 16:21:18 +0000 (-0800) Subject: e1000e: make a function static X-Git-Tag: v2.6.25-rc1~1065^2~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cfe33d66cee877d2a9575e5bff25519ac44f0de;p=linux-2.6 e1000e: make a function static This patch makes the needlessly global reg_pattern_test_array() static. Signed-off-by: Adrian Bunk Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index 9fab444635..f77a7427d3 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;