diff options
author | Arnd Bergmann <[email protected]> | 2017-06-09 12:37:35 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-09 15:51:45 -0400 |
commit | 2f3ca449a4f9a54d2bf39c873269e68ad5f34acb (patch) | |
tree | 8c2ae521153aeb9173e1280eef2bc37614ef7142 /lib/mpi/mpi-internal.h | |
parent | c156d2890a81a74b76460e73068e3aa78dcc7189 (diff) |
qed: add qed_int_sb_init() stub function
When CONFIG_QED_SRIOV is disabled, we get a build error:
drivers/net/ethernet/qlogic/qed/qed_int.c: In function 'qed_int_sb_init':
drivers/net/ethernet/qlogic/qed/qed_int.c:1499:4: error: implicit declaration of function 'qed_vf_set_sb_info'; did you mean 'qed_mcp_get_resc_info'? [-Werror=implicit-function-declaration]
All the other declarations have a 'static inline' stub as an alternative
here, so this adds one more for qed_int_sb_init.
Fixes: 50a207147fce ("qed: Hold a single array for SBs")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Yuval Mintz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions