소스 검색

IB/mlx5: Make profile[] static in main.c

Signed-off-by: Roland Dreier <roland@purestorage.com>
Roland Dreier 12 년 전
부모
커밋
ad32b95f82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/infiniband/hw/mlx5/main.c

+ 1 - 1
drivers/infiniband/hw/mlx5/main.c

@@ -62,7 +62,7 @@ static char mlx5_version[] =
 	DRIVER_NAME ": Mellanox Connect-IB Infiniband driver v"
 	DRIVER_VERSION " (" DRIVER_RELDATE ")\n";
 
-struct mlx5_profile profile[] = {
+static struct mlx5_profile profile[] = {
 	[0] = {
 		.mask		= 0,
 	},