]> Pileus Git - ~andy/linux/commitdiff
mlx4_core: Fix one more static exported function
authorRoland Dreier <roland@purestorage.com>
Sun, 26 Feb 2012 09:48:12 +0000 (01:48 -0800)
committerRoland Dreier <roland@purestorage.com>
Mon, 12 Mar 2012 23:24:58 +0000 (16:24 -0700)
Commit 22c8bff6face ("mlx4_core: Exported functions can't be static")
fixed most of this up, but forgot about mlx4_is_slave_active().  Fix
this one too.

Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/main.c

index 3e593ae56e0072eea7a6775dbf7fbcc5bcdc771b..f0578961190c146fce07ccb36e5d60467a16db1b 100644 (file)
@@ -394,7 +394,7 @@ static int mlx4_how_many_lives_vf(struct mlx4_dev *dev)
        return ret;
 }
 
-static int mlx4_is_slave_active(struct mlx4_dev *dev, int slave)
+int mlx4_is_slave_active(struct mlx4_dev *dev, int slave)
 {
        struct mlx4_priv *priv = mlx4_priv(dev);
        struct mlx4_slave_state *s_slave;