diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-07-04 14:03:17 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-07-27 09:30:56 +0800 |
commit | 6ca1a113791eb09dac8c48b2b264c4d72aab410f (patch) | |
tree | 1c889fc0c3e942c89c1241f433f2c8758e9d24e2 /include/linux/of_net.h | |
parent | 0ca1e290b7c517300bf6cc4f14ebcedb5dfea5cc (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_net.h b/include/linux/of_net.h index e913081fb52..f4746418871 100644 --- a/include/linux/of_net.h +++ b/include/linux/of_net.h @@ -9,6 +9,7 @@ #ifdef CONFIG_OF_NET #include <linux/of.h> +extern const int of_get_phy_mode(struct device_node *np); extern const void *of_get_mac_address(struct device_node *np); #endif |