This allows drivers to use a const pointer as the privid without a cast. Signed-off by: David Kilroy <kilroyd@xxxxxxxxx> --- include/net/cfg80211.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7702715..0639962 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -994,7 +994,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]; -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html