[TG3]: Don't mark tg3_test_registers() as returning const.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 21 Mar 2006 07:02:36 +0000 (23:02 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 21 Mar 2006 07:02:36 +0000 (23:02 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c

index b1e8d0698fac2a0f234327b56d7a82ef5ba801e3..e03d1ae50c3e40d1f0dc69a5995ba93742497559 100644 (file)
@@ -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;