fakehard: no need to export net_to_phy, make it static
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 29 Oct 2009 13:32:46 +0000 (16:32 +0300)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 6 Nov 2009 11:31:24 +0000 (14:31 +0300)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
drivers/ieee802154/fakehard.c

index 77fbb51157af4f35d0b8b7b030d891a030211aa5..ccf83eb1e20a9d9557e9273983eeee5e51880a69 100644 (file)
@@ -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);
 }