aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-21 02:02:36 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-21 02:02:36 -0500
commit30ca3e376e82cc44488b1d377adfb10b5818548e (patch)
treec1f14cf8e3514c10640ec288535d1fcd45ae48f8 /drivers/net/tg3.c
parent322f74a432f976328e834a8663f2e75eb5933ecc (diff)
[TG3]: Don't mark tg3_test_registers() as returning const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index b1e8d0698fac..e03d1ae50c3e 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -8059,7 +8059,7 @@ static int tg3_test_link(struct tg3 *tp)
8059} 8059}
8060 8060
8061/* Only test the commonly used registers */ 8061/* Only test the commonly used registers */
8062static const int tg3_test_registers(struct tg3 *tp) 8062static int tg3_test_registers(struct tg3 *tp)
8063{ 8063{
8064 int i, is_5705; 8064 int i, is_5705;
8065 u32 offset, read_mask, write_mask, val, save_val, read_val; 8065 u32 offset, read_mask, write_mask, val, save_val, read_val;