2011-09-09 00:23:31

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] wireless: fix kernel-doc warning in net/cfg80211.h

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning in net/cfg80211.h:

Warning(include/net/cfg80211.h:1884): No description found for parameter 'registered'

Signed-off-by: Randy Dunlap <[email protected]>
---
include/net/cfg80211.h | 2 ++
1 file changed, 2 insertions(+)

--- lnx-31-rc5.orig/include/net/cfg80211.h
+++ lnx-31-rc5/include/net/cfg80211.h
@@ -1744,6 +1744,8 @@ struct wiphy_wowlan_support {
* by default for perm_addr. In this case, the mask should be set to
* all-zeroes. In this case it is assumed that the device can handle
* the same number of arbitrary MAC addresses.
+ * @registered: protects ->resume and ->suspend sysfs callbacks against
+ * unregister hardware
* @debugfsdir: debugfs directory used for this wiphy, will be renamed
* automatically on wiphy renames
* @dev: (virtual) struct device for this wiphy