From: David Kilroy Date: Sat, 16 May 2009 22:13:47 +0000 (+0100) Subject: cfg80211: mark wiphy->privid as pointer to const X-Git-Tag: v2.6.31-rc1~330^2~313^2~67 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b;p=karo-tx-linux.git 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: David Kilroy Acked-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 09a823520e58..81a3bfa45471 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -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];