Pārlūkot izejas kodu

fakehard: no need to export net_to_phy, make it static

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov 15 gadi atpakaļ
vecāks
revīzija
c83b2077c8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      drivers/ieee802154/fakehard.c

+ 1 - 1
drivers/ieee802154/fakehard.c

@@ -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);
 }
 }