commit | 379a80a1d048dcacfc2011d5d32e16d5c804b9f4 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri Oct 23 15:06:19 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 23 17:34:34 2015 -0700 |
tree | 1fee3bb597596654e2b3613b3cc1c5e0488f1967 | |
parent | bf7958607d0b792e0c43482c0c78786023a69832 [diff] |
bnxt_en: Fix compile errors when CONFIG_BNXT_SRIOV is not set. struct bnxt_pf_info needs to be always defined. Move bnxt_update_vf_mac() to bnxt_sriov.c and add some missing #ifdef CONFIG_BNXT_SRIOV. Reported-by: Jim Hull <jim.hull@hpe.com> Tested-by: Jim Hull <jim.hull@hpe.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>