]> 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)
commitd500fbe90ebd803116017ca4cd95c24dae4a7a10
tree8a60cab6358b0c78e07ac48822e558a85d5fda1b
parentbbfe176b15a05eaf2474aa35080bc0ebc59773b5
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