diff options
author | David Kilroy <kilroyd@googlemail.com> | 2009-05-16 23:13:47 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-20 14:46:27 -0400 |
commit | cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b (patch) | |
tree | c713414a38ac7cc5c3c7fbc7e19f830c0e584d64 /include/net | |
parent | 3dcf670baf3d3a9bfc752e59d0b1a8d886230750 (diff) | |
download | op-kernel-dev-cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b.zip op-kernel-dev-cf5aa2f1f39d367d449df4c10de3d8e6f9c4443b.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 09a8235..81a3bfa 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]; |