summary refs log tree commit diff
path: root/drivers/idle
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-08-30 19:10:38 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-30 17:38:24 -0700
commite72cb7d6245380acc11a24b75a865f7104ac8b33 (patch)
treeff5548bd043bfdd0e73b0eab7cc1c584524558d5 /drivers/idle
parentfd0f75d28da24349fdccee905cf4c32202d4d1a7 (diff)
downloadlinux-e72cb7d6245380acc11a24b75a865f7104ac8b33.tar.gz
bnxt_en: Fix compile error regression with CONFIG_BNXT_SRIOV not set.
Add a new function bnxt_get_registered_vfs() to handle the work
of getting the number of registered VFs under #ifdef CONFIG_BNXT_SRIOV.
The main code will call this function and will always work correctly
whether CONFIG_BNXT_SRIOV is set or not.

Fixes: 230d1f0de754 ("bnxt_en: Handle firmware reset.")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions