Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf5aa2f1 authored by David Kilroy's avatar David Kilroy Committed by John W. Linville
Browse files

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: default avatarDavid Kilroy <kilroyd@gmail.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3dcf670b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];