]> git.ipfire.org Git - thirdparty/kernel/stable.git/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:31:53 +0000 (10:31 -0700)
commit e10903b087e425298fb86c6ad4b1a88735480db7 upstream.

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.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx4/main.c

index d498f049c74ecfa6578f02f1257e1063291bbe0d..8bf22b6c3678d64779472f439f53e2d2820b57ed 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;