2 * OF helpers for network devices.
4 * This file is released under the GPLv2
7 #ifndef __LINUX_OF_NET_H
8 #define __LINUX_OF_NET_H
14 extern int of_get_phy_mode(struct device_node
*np
);
15 extern const void *of_get_mac_address(struct device_node
*np
);
16 extern struct net_device
*of_find_net_device_by_node(struct device_node
*np
);
18 static inline int of_get_phy_mode(struct device_node
*np
)
23 static inline const void *of_get_mac_address(struct device_node
*np
)
28 static inline struct net_device
*of_find_net_device_by_node(struct device_node
*np
)
34 #endif /* __LINUX_OF_NET_H */
This page took 0.031441 seconds and 5 git commands to generate.