Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368818
b: refs/heads/master
c: 65b3841
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck authored and David S. Miller committed Apr 2, 2013
1 parent c371ce4 commit fda8bea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e404cd65860d6da7c08362e9e4d0b5dc40a9985
refs/heads/master: 65b3841b9cb5fe1b239f12dbf033f9827d73d032
10 changes: 10 additions & 0 deletions trunk/include/linux/of_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
#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);
#else
static inline const int of_get_phy_mode(struct device_node *np)
{
return -ENODEV;
}

static inline const void *of_get_mac_address(struct device_node *np)
{
return NULL;
}
#endif

#endif /* __LINUX_OF_NET_H */

0 comments on commit fda8bea

Please sign in to comment.