summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2013-07-08 11:13:35 +0400
committerRoland Dreier <roland@purestorage.com>2013-07-08 21:32:32 +0400
commitad32b95f8281ac5a292da83ff27616aceee4b770 (patch)
tree4ae0f2fec307da7e1e63dd6d59c889eb89778b4e /drivers/infiniband
parent63884c90ffa3f73a81b81f169c51c34d2b9cf75e (diff)
downloadlinux-ad32b95f8281ac5a292da83ff27616aceee4b770.tar.xz
IB/mlx5: Make profile[] static in main.c
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mlx5/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 6b1007f9bc29..8000fff4d444 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/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,
},