소스 검색

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

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 19 년 전
부모
커밋
30ca3e376e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/net/tg3.c

+ 1 - 1
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;