commit | 30ca3e376e82cc44488b1d377adfb10b5818548e | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Mon Mar 20 23:02:36 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Mar 20 23:02:36 2006 -0800 |
tree | c1f14cf8e3514c10640ec288535d1fcd45ae48f8 | |
parent | 322f74a432f976328e834a8663f2e75eb5933ecc [diff] |
[TG3]: Don't mark tg3_test_registers() as returning const. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index b1e8d06..e03d1ae 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c
@@ -8059,7 +8059,7 @@ } /* Only test the commonly used registers */ -static const int tg3_test_registers(struct tg3 *tp) +static int tg3_test_registers(struct tg3 *tp) { int i, is_5705; u32 offset, read_mask, write_mask, val, save_val, read_val;