aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_net.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-04 02:03:17 -0400
committerShawn Guo <shawn.guo@linaro.org>2011-07-26 21:30:56 -0400
commit6ca1a113791eb09dac8c48b2b264c4d72aab410f (patch)
tree1c889fc0c3e942c89c1241f433f2c8758e9d24e2 /include/linux/of_net.h
parent0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc (diff)
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>
Diffstat (limited to 'include/linux/of_net.h')
-rw-r--r--include/linux/of_net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_net.h b/include/linux/of_net.h
index e913081fb52a..f47464188710 100644
--- a/include/linux/of_net.h
+++ b/include/linux/of_net.h
@@ -9,6 +9,7 @@
9 9
10#ifdef CONFIG_OF_NET 10#ifdef CONFIG_OF_NET
11#include <linux/of.h> 11#include <linux/of.h>
12extern const int of_get_phy_mode(struct device_node *np);
12extern const void *of_get_mac_address(struct device_node *np); 13extern const void *of_get_mac_address(struct device_node *np);
13#endif 14#endif
14 15