Skip to content
Snippets Groups Projects
Commit c83b2077 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov
Browse files

fakehard: no need to export net_to_phy, make it static

parent 1eaa9d03
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <net/nl802154.h> #include <net/nl802154.h>
#include <net/wpan-phy.h> #include <net/wpan-phy.h>
struct wpan_phy *net_to_phy(struct net_device *dev) static struct wpan_phy *net_to_phy(struct net_device *dev)
{ {
return container_of(dev->dev.parent, struct wpan_phy, dev); return container_of(dev->dev.parent, struct wpan_phy, dev);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment