diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-03-21 07:02:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-21 07:02:36 (GMT) |
commit | 30ca3e376e82cc44488b1d377adfb10b5818548e (patch) | |
tree | c1f14cf8e3514c10640ec288535d1fcd45ae48f8 /drivers/net/tg3.c | |
parent | 322f74a432f976328e834a8663f2e75eb5933ecc (diff) | |
download | linux-fsl-qoriq-30ca3e376e82cc44488b1d377adfb10b5818548e.tar.xz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static int tg3_test_link(struct tg3 *tp) } /* 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; |