Commit 6de6d185 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

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: fbfb8031 ("ionic: Add hardware init and device commands")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5f75a14
...@@ -20,6 +20,7 @@ if NET_VENDOR_PENSANDO ...@@ -20,6 +20,7 @@ if NET_VENDOR_PENSANDO
config IONIC config IONIC
tristate "Pensando Ethernet IONIC Support" tristate "Pensando Ethernet IONIC Support"
depends on 64BIT && PCI depends on 64BIT && PCI
select NET_DEVLINK
help help
This enables the support for the Pensando family of Ethernet This enables the support for the Pensando family of Ethernet
adapters. More specific information on this driver can be adapters. More specific information on this driver can be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment