diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-23 11:37:45 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-04-06 10:37:07 -0400 |
commit | 9967c70abc929e9b910be8d419fdf6a85411a066 (patch) | |
tree | 1061dd4661b4a11a0d6b49be02324af3a15937b3 /fs | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
IB/mlx5: fix VFs callback function prototypes
The previous patch that added a couple of callback functions put
the declarations inside of an #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING,
which causes the build to fail if that option is disabled:
drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add':
drivers/infiniband/hw/mlx5/main.c:2358:31: error: 'mlx5_ib_get_vf_config' undeclared (first use in this function)
This moves the four declarations below the #ifdef section so they
are always available.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: eff901d30e6c ("IB/mlx5: Implement callbacks for manipulating VFs")
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions