aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/fw.c
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2012-02-20 12:19:03 -0500
committerRoland Dreier <roland@purestorage.com>2012-02-22 23:00:38 -0800
commit22c8bff6facebd6f1514ee1e37a6ffc892de7815 (patch)
tree5d7605c14268a16c53bb3dcee543662304d03a17 /drivers/net/ethernet/mellanox/mlx4/fw.c
parentLinux 3.3-rc3 (diff)
downloadlinux-dev-22c8bff6facebd6f1514ee1e37a6ffc892de7815.tar.xz
linux-dev-22c8bff6facebd6f1514ee1e37a6ffc892de7815.zip
mlx4_core: Exported functions can't be static
At least on powerpc, it breaks the build if exported functions are static. Fix some static exported functions introduced with the mlx4 SR-IOV support added in 3.3-rc1. Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/fw.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.c b/drivers/net/ethernet/mellanox/mlx4/fw.c
index 8a21e10952ea..9ea7cabcaf3c 100644
--- a/drivers/net/ethernet/mellanox/mlx4/fw.c
+++ b/drivers/net/ethernet/mellanox/mlx4/fw.c
@@ -685,7 +685,7 @@ int mlx4_QUERY_PORT_wrapper(struct mlx4_dev *dev, int slave,
return err;
}
-static int mlx4_QUERY_PORT(struct mlx4_dev *dev, void *ptr, u8 port)
+int mlx4_QUERY_PORT(struct mlx4_dev *dev, void *ptr, u8 port)
{
struct mlx4_cmd_mailbox *outbox = ptr;