Skip to content

Commit

Permalink
[TG3]: Don't mark tg3_test_registers() as returning const.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 21, 2006
1 parent 322f74a commit 30ca3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30ca3e3

Please sign in to comment.