提交 cf5aa2f1 编写于 作者: D David Kilroy 提交者: John W. Linville

cfg80211: mark wiphy->privid as pointer to const

This allows drivers to use a const pointer as the privid without a cast.
Signed-off-by: NDavid Kilroy <kilroyd@gmail.com>
Acked-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 3dcf670b
......@@ -997,7 +997,7 @@ struct wiphy {
* know whether it points to a wiphy your driver has registered
* or not. Assign this to something global to your driver to
* help determine whether you own this wiphy or not. */
void *privid;
const void *privid;
struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册