Commit c83b2077c8bfec097ab02a0eca60bd611fdc7944

Authored by Dmitry Eremin-Solenikov
1 parent 1eaa9d03d3

fakehard: no need to export net_to_phy, make it static

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/ieee802154/fakehard.c
... ... @@ -32,7 +32,7 @@
32 32 #include <net/nl802154.h>
33 33 #include <net/wpan-phy.h>
34 34  
35   -struct wpan_phy *net_to_phy(struct net_device *dev)
  35 +static struct wpan_phy *net_to_phy(struct net_device *dev)
36 36 {
37 37 return container_of(dev->dev.parent, struct wpan_phy, dev);
38 38 }