diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 4 |
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 */ |
7788 | static int tg3_test_registers(struct tg3 *tp) | 7788 | static 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 | ||
8000 | static int tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) | 8000 | static 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 | ||