Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30ca3e37 authored by David S. Miller's avatar David S. Miller
Browse files

[TG3]: Don't mark tg3_test_registers() as returning const.

parent 322f74a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;