浏览代码

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_NAME ": Mellanox Connect-IB Infiniband driver v"
 	DRIVER_VERSION " (" DRIVER_RELDATE ")\n";
 	DRIVER_VERSION " (" DRIVER_RELDATE ")\n";
 
 
-struct mlx5_profile profile[] = {
+static struct mlx5_profile profile[] = {
 	[0] = {
 	[0] = {
 		.mask		= 0,
 		.mask		= 0,
 	},
 	},