aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-05-16 23:13:47 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:27 -0400
commitcf5aa2f1f39d367d449df4c10de3d8e6f9c4443b (patch)
treec713414a38ac7cc5c3c7fbc7e19f830c0e584d64 /include/net
parentcfg80211: mark ops as pointer to const (diff)
downloadlinux-dev-cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b.tar.xz
linux-dev-cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b.zip
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 <kilroyd@gmail.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 1 insertions, 1 deletions
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];