net: davinci_mdio: gaurd the DT code with IS_ENABLED(CONFIG_OF)
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 25 Jun 2013 15:54:53 +0000 (21:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:52:29 +0000 (16:52 -0700)
commit277e2a84c12e0d4af77d0f0a52623211eb6ab223
tree8a60cab6358b0c78e07ac48822e558a85d5fda1b
parent151328c828795574bed6ce8b37c3d0bd586e162f
net: davinci_mdio: gaurd the DT code with IS_ENABLED(CONFIG_OF)

guard the davinci_mdio_of_mtable table and davinci_mdio_probe_dt()
with CONFIG_OF.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_mdio.c