diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/wpan-phy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h index 547b1e271ac9..5e803a0e4e72 100644 --- a/include/net/wpan-phy.h +++ b/include/net/wpan-phy.h | |||
@@ -56,6 +56,12 @@ static inline void *wpan_phy_priv(struct wpan_phy *phy) | |||
56 | } | 56 | } |
57 | 57 | ||
58 | struct wpan_phy *wpan_phy_find(const char *str); | 58 | struct wpan_phy *wpan_phy_find(const char *str); |
59 | |||
60 | static inline void wpan_phy_put(struct wpan_phy *phy) | ||
61 | { | ||
62 | put_device(&phy->dev); | ||
63 | } | ||
64 | |||
59 | static inline const char *wpan_phy_name(struct wpan_phy *phy) | 65 | static inline const char *wpan_phy_name(struct wpan_phy *phy) |
60 | { | 66 | { |
61 | return dev_name(&phy->dev); | 67 | return dev_name(&phy->dev); |