Skip to content

Commit d706543

Browse files
Markus Blöchlkuba-moo
authored andcommitted
net: bnge: add AUXILIARY_BUS to Kconfig dependencies
The build can currently fail with ld: drivers/net/ethernet/broadcom/bnge/bnge_auxr.o: in function `bnge_rdma_aux_device_add': bnge_auxr.c:(.text+0x366): undefined reference to `__auxiliary_device_add' ld: drivers/net/ethernet/broadcom/bnge/bnge_auxr.o: in function `bnge_rdma_aux_device_init': bnge_auxr.c:(.text+0x43c): undefined reference to `auxiliary_device_init' if BNGE is enabled but no other driver pulls in AUXILIARY_BUS. Select AUXILIARY_BUS in BNGE like in all other drivers which create an auxiliary_device. Fixes: 8ac050e ("bng_en: Add RoCE aux device support") Signed-off-by: Markus Blöchl <[email protected]> Reviewed-by: Vikas Gupta <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a428e0d commit d706543

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/ethernet/broadcom

drivers/net/ethernet/broadcom/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ config BNGE
259259
depends on PCI
260260
select NET_DEVLINK
261261
select PAGE_POOL
262+
select AUXILIARY_BUS
262263
help
263264
This driver supports Broadcom ThorUltra 50/100/200/400/800 gigabit
264265
Ethernet cards. The module will be called bng_en. To compile this

0 commit comments

Comments
 (0)