The idpf driver depends on both AUXILIARY_BUS and NET_DEVLINK, but
they're not selected by the Kconfig. Let's fix this so idpf builds even
with a stripped config.

Reported-by: Yong Gu <[email protected]>
Signed-off-by: Malin Jonsson <[email protected]>
---
 drivers/net/ethernet/intel/idpf/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/intel/idpf/Kconfig 
b/drivers/net/ethernet/intel/idpf/Kconfig
index 1f893221e2c99..5c7ce626aae16 100644
--- a/drivers/net/ethernet/intel/idpf/Kconfig
+++ b/drivers/net/ethernet/intel/idpf/Kconfig
@@ -8,6 +8,8 @@ config IDPF
        select LIBETH
        select LIBETH_CP
        select LIBETH_IRQ
+       select AUXILIARY_BUS
+       select NET_DEVLINK
        help
          This driver supports Intel(R) Infrastructure Data Path Function
          devices.
-- 
2.34.1

Reply via email to