]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: select CONFIG_NET_DEVLINK
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Oct 2019 14:21:40 +0000 (16:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2019 16:24:05 +0000 (09:24 -0700)
commit7fe1a68bd83261a4e886776c8e17a7efac7bd319
tree8f9d19ba20001903238cb108553beb648342261a
parent848165a866b12eef1b03b02f5d88c9568dd1a698
ionic: select CONFIG_NET_DEVLINK

When no other driver selects the devlink library code, ionic
produces a link failure:

drivers/net/ethernet/pensando/ionic/ionic_devlink.o: In function `ionic_devlink_alloc':
ionic_devlink.c:(.text+0xd): undefined reference to `devlink_alloc'
drivers/net/ethernet/pensando/ionic/ionic_devlink.o: In function `ionic_devlink_register':
ionic_devlink.c:(.text+0x71): undefined reference to `devlink_register'

Add the same 'select' statement that the other drivers use here.

Fixes: 22c2f0b535b9 ("ionic: Add hardware init and device commands")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/Kconfig