Skip to content

Commit 15bc6df

Browse files
jerome-pouillerjmberg-intel
authored andcommitted
cfg80211: merge documentations of field "dev"
The field "dev" was documented on two places. This patch merges the comments. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200221115604.594035-8-Jerome.Pouiller@silabs.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent edf7719 commit 15bc6df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/net/cfg80211.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4464,7 +4464,9 @@ struct wiphy_iftype_akm_suites {
44644464
* unregister hardware
44654465
* @debugfsdir: debugfs directory used for this wiphy (ieee80211/<wiphyname>).
44664466
* It will be renamed automatically on wiphy renames
4467-
* @dev: (virtual) struct device for this wiphy
4467+
* @dev: (virtual) struct device for this wiphy. The item in
4468+
* /sys/class/ieee80211/ points to this. You need use set_wiphy_dev()
4469+
* (see below).
44684470
* @wext: wireless extension handlers
44694471
* @priv: driver private data (sized according to wiphy_new() parameter)
44704472
* @interface_modes: bitmask of interfaces types valid for this wiphy,
@@ -4683,8 +4685,6 @@ struct wiphy {
46834685

46844686
const struct ieee80211_regdomain __rcu *regd;
46854687

4686-
/* the item in /sys/class/ieee80211/ points to this,
4687-
* you need use set_wiphy_dev() (see below) */
46884688
struct device dev;
46894689

46904690
bool registered;

0 commit comments

Comments
 (0)