dt/net: add helper function of_get_phy_mode
authorShawn Guo <shawn.guo@linaro.org>
Mon, 4 Jul 2011 06:03:17 +0000 (14:03 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 27 Jul 2011 01:30:56 +0000 (09:30 +0800)
commit6ca1a113791eb09dac8c48b2b264c4d72aab410f
tree1c889fc0c3e942c89c1241f433f2c8758e9d24e2
parent0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc
dt/net: add helper function of_get_phy_mode

It adds the helper function of_get_phy_mode getting phy interface
from device tree.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David Miller <davem@davemloft.net>
drivers/of/of_net.c
include/linux/of_net.h