From: David S. Miller Date: Tue, 21 Mar 2006 07:02:36 +0000 (-0800) Subject: [TG3]: Don't mark tg3_test_registers() as returning const. X-Git-Tag: v2.6.17-rc1~1175^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30ca3e376e82cc44488b1d377adfb10b5818548e;p=platform%2Fkernel%2Flinux-3.10.git [TG3]: Don't mark tg3_test_registers() as returning const. Signed-off-by: David S. Miller --- 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;