aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-03-03 21:33:57 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-03 21:33:57 -0500
commitf71e130966ba429dbd24be08ddbcdf263df9a5ad (patch)
tree523f10c926012f520c47894811b94944a7793fd5 /drivers/net/tg3.c
parentc499ec24c31edf270e777a868ffd0daddcfe7ebd (diff)
Massive net driver const-ification.
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index e8e92c853e89..83ff5994a8d5 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7785,7 +7785,7 @@ static int tg3_test_link(struct tg3 *tp)
7785} 7785}
7786 7786
7787/* Only test the commonly used registers */ 7787/* Only test the commonly used registers */
7788static int tg3_test_registers(struct tg3 *tp) 7788static const int tg3_test_registers(struct tg3 *tp)
7789{ 7789{
7790 int i, is_5705; 7790 int i, is_5705;
7791 u32 offset, read_mask, write_mask, val, save_val, read_val; 7791 u32 offset, read_mask, write_mask, val, save_val, read_val;
@@ -7999,7 +7999,7 @@ out:
7999 7999
8000static int tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) 8000static int tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len)
8001{ 8001{
8002 static u32 test_pattern[] = { 0x00000000, 0xffffffff, 0xaa55a55a }; 8002 static const u32 test_pattern[] = { 0x00000000, 0xffffffff, 0xaa55a55a };
8003 int i; 8003 int i;
8004 u32 j; 8004 u32 j;
8005 8005