diff options
| author | Sathya Perla <[email protected]> | 2017-07-25 13:28:39 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-25 12:48:19 -0700 |
| commit | d3e3becedc43adc8b8fb12e7507dd4e5aae4d17d (patch) | |
| tree | 3296a20aba47e37b7dbdac2f5b3d6f0c042be576 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 51e3ea3f6bf031439073b7da5afee2a03f606b0c (diff) | |
bnxt_en: include bnxt_vfr.c code under CONFIG_BNXT_SRIOV switch
And define empty functions in bnxt_vfr.h when CONFIG_BNXT_SRIOV is not
defined.
This fixes build error when CONFIG_BNXT_SRIOV is switched off:
>> drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:165:16: error: 'struct
>> bnxt' has no member named 'sriov_lock'
Reported-by: kbuild test robot <[email protected]>
Fixes: 4ab0c6a8ffd7 ("bnxt_en: add support to enable VF-representors")
Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions