drivers: net: xgene: Make xgene_enet_of_match depend on CONFIG_OF
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 11 Feb 2015 10:25:40 +0000 (11:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Feb 2015 03:39:08 +0000 (19:39 -0800)
commit163cff31de762a4e21df7050e392bf5f30f17e14
tree8986b8c8a11143749041fb288b782b1004730004
parentbc2f3873f74414cdf095b337a73f96262e6aadbc
drivers: net: xgene: Make xgene_enet_of_match depend on CONFIG_OF

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@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c