Re: [PATCH net-next] qed: Fix build error without CONFIG_DEVLINK

From: David Miller
Date: Mon Jun 03 2019 - 18:15:13 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Sat, 1 Jun 2019 16:06:05 +0800

> 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@xxxxxxxxxx>
> Fixes: 24e04879abdd ("qed: Add qed devlink parameters table")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.