Skip to content

Commit 30ca3e3

Browse files
author
David S. Miller
committed
[TG3]: Don't mark tg3_test_registers() as returning const.
Signed-off-by: David S. Miller <[email protected]>
1 parent 322f74a commit 30ca3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/tg3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8059,7 +8059,7 @@ static int tg3_test_link(struct tg3 *tp)
80598059
}
80608060

80618061
/* Only test the commonly used registers */
8062-
static const int tg3_test_registers(struct tg3 *tp)
8062+
static int tg3_test_registers(struct tg3 *tp)
80638063
{
80648064
int i, is_5705;
80658065
u32 offset, read_mask, write_mask, val, save_val, read_val;

0 commit comments

Comments
 (0)