Commit bd8d7d90 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

qed: Fix build error without CONFIG_DEVLINK

Fix gcc build error while CONFIG_DEVLINK is not set

drivers/net/ethernet/qlogic/qed/qed_main.o: In function `qed_remove':
qed_main.c:(.text+0x1eb4): undefined reference to `devlink_unregister'

Select DEVLINK to fix this.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 24e04879 ("qed: Add qed devlink parameters table")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5472c3c6
......@@ -87,6 +87,7 @@ config QED
depends on PCI
select ZLIB_INFLATE
select CRC8
select NET_DEVLINK
---help---
This enables the support for ...
......
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