Re: [PATCH] drivers: net: xgene: Make xgene_enet_of_match depend on CONFIG_OF

From: David Miller
Date: Wed Feb 11 2015 - 22:32:33 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Wed, 11 Feb 2015 11:25:40 +0100

> If CONFIG_NET_XGENE=y but CONFIG_OF=n:
>
> drivers/net/ethernet/apm/xgene/xgene_enet_main.c:1033: warning: ʽxgene_enet_of_matchʼ defined but not used
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied.