diff options
author | Sathya Perla <sathya.perla@broadcom.com> | 2017-07-25 19:28:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-25 21:48:19 +0200 |
commit | d3e3becedc43adc8b8fb12e7507dd4e5aae4d17d (patch) | |
tree | 3296a20aba47e37b7dbdac2f5b3d6f0c042be576 /drivers/clocksource/Makefile | |
parent | Merge branch 'net-warnings' (diff) | |
download | linux-d3e3becedc43adc8b8fb12e7507dd4e5aae4d17d.tar.xz linux-d3e3becedc43adc8b8fb12e7507dd4e5aae4d17d.zip |
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 <lkp@intel.com>
Fixes: 4ab0c6a8ffd7 ("bnxt_en: add support to enable VF-representors")
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource/Makefile')
0 files changed, 0 insertions, 0 deletions