]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38165d03241dca530a38dfefcf99236672ca517e
tree8a60cab6358b0c78e07ac48822e558a85d5fda1b
parent8773f97fc0c97d876ebf255e4d2556ac4a462bb0
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