mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
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: Hulk Robot <hulkci@huawei.com>
Fixes: 24e04879ab
("qed: Add qed devlink parameters table")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5472c3c6a5
commit
bd8d7d9088
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ config QED
|
||||||
depends on PCI
|
depends on PCI
|
||||||
select ZLIB_INFLATE
|
select ZLIB_INFLATE
|
||||||
select CRC8
|
select CRC8
|
||||||
|
select NET_DEVLINK
|
||||||
---help---
|
---help---
|
||||||
This enables the support for ...
|
This enables the support for ...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue