提交 c83b2077 编写于 作者: D Dmitry Eremin-Solenikov

fakehard: no need to export net_to_phy, make it static

Signed-off-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
上级 1eaa9d03
......@@ -32,7 +32,7 @@
#include <net/nl802154.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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册