blob: f47464188710e8271e37faaa8a457da95e3533df [file] [log] [blame]
David Daney4b6ba8a2010-10-26 15:07:13 -07001/*
2 * OF helpers for network devices.
3 *
4 * This file is released under the GPLv2
5 */
6
7#ifndef __LINUX_OF_NET_H
8#define __LINUX_OF_NET_H
9
10#ifdef CONFIG_OF_NET
11#include <linux/of.h>
Shawn Guo6ca1a112011-07-04 14:03:17 +080012extern const int of_get_phy_mode(struct device_node *np);
David Daney4b6ba8a2010-10-26 15:07:13 -070013extern const void *of_get_mac_address(struct device_node *np);
14#endif
15
16#endif /* __LINUX_OF_NET_H */