aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-10-29 09:32:46 -0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-06 06:31:24 -0500
commitc83b2077c8bfec097ab02a0eca60bd611fdc7944 (patch)
treee6574288421aea30245b79b6649cf2ef30d6b1e9 /drivers
parent1eaa9d03d3ee9156c8c405b006ce892ae28290ad (diff)
fakehard: no need to export net_to_phy, make it static
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ieee802154/fakehard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c
index 77fbb51157af..ccf83eb1e20a 100644
--- a/drivers/ieee802154/fakehard.c
+++ b/drivers/ieee802154/fakehard.c
@@ -32,7 +32,7 @@
32#include <net/nl802154.h> 32#include <net/nl802154.h>
33#include <net/wpan-phy.h> 33#include <net/wpan-phy.h>
34 34
35struct wpan_phy *net_to_phy(struct net_device *dev) 35static struct wpan_phy *net_to_phy(struct net_device *dev)
36{ 36{
37 return container_of(dev->dev.parent, struct wpan_phy, dev); 37 return container_of(dev->dev.parent, struct wpan_phy, dev);
38} 38}