diff options
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index c65f4a92710c..681b8fa4355b 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -90,7 +90,7 @@ struct cfg80211_registered_device { | |||
90 | }; | 90 | }; |
91 | 91 | ||
92 | static inline | 92 | static inline |
93 | struct cfg80211_registered_device *wiphy_to_dev(struct wiphy *wiphy) | 93 | struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) |
94 | { | 94 | { |
95 | BUG_ON(!wiphy); | 95 | BUG_ON(!wiphy); |
96 | return container_of(wiphy, struct cfg80211_registered_device, wiphy); | 96 | return container_of(wiphy, struct cfg80211_registered_device, wiphy); |