]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: Fix compile error due to missing devlink support
authorEzequiel Garcia <ezequiel@collabora.com>
Mon, 23 Nov 2020 16:35:53 +0000 (18:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Nov 2020 22:57:55 +0000 (14:57 -0800)
commit8a5bfd5825c5e4b2b44ce14d049c6895ffe02aa1
treeae7cb01886734a80c61dcdbc3c1f1dc42a5cb4b1
parentbccb660b62ce8d2d2191d02ee9d1cb1373168c40
dpaa2-eth: Fix compile error due to missing devlink support

The dpaa2 driver depends on devlink, so it should select
NET_DEVLINK in order to fix compile errors, such as:

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o: in function `dpaa2_eth_rx_err':
dpaa2-eth.c:(.text+0x3cec): undefined reference to `devlink_trap_report'
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o: in function `dpaa2_eth_dl_info_get':
dpaa2-eth-devlink.c:(.text+0x160): undefined reference to `devlink_info_driver_name_put'

Fixes: 035a67524650 ("dpaa2-eth: add basic devlink support")
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20201123163553.1666476-1-ciorneiioana@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa2/Kconfig