提交 30ca3e37 编写于 作者: D David S. Miller

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

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 322f74a4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册