IB/mlx5: Make profile[] static in main.c
authorRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 07:13:35 +0000 (00:13 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 17:32:32 +0000 (10:32 -0700)
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/main.c

index 6b1007f9bc290a9594f91344305572b4ade96db8..8000fff4d4444168ac4091a78112593d11b212dd 100644 (file)
@@ -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,
        },