aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-05-16 23:13:46 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:27 -0400
commit3dcf670baf3d3a9bfc752e59d0b1a8d886230750 (patch)
tree843e1fbcfb9d2e62fbd7b419e7b8bf80b494cc61 /include/net
parentiwlwifi: drop iwl3945_tid_data (diff)
downloadlinux-dev-3dcf670baf3d3a9bfc752e59d0b1a8d886230750.tar.xz
linux-dev-3dcf670baf3d3a9bfc752e59d0b1a8d886230750.zip
cfg80211: mark ops as pointer to const
This allows drivers to mark their cfg80211_ops tables const. Signed-off-by: David Kilroy <kilroyd@googlemail.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 7391ad10c8c0..09a823520e58 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1073,7 +1073,7 @@ static inline const char *wiphy_name(struct wiphy *wiphy)
* The returned pointer must be assigned to each netdev's
* ieee80211_ptr for proper operation.
*/
-struct wiphy *wiphy_new(struct cfg80211_ops *ops, int sizeof_priv);
+struct wiphy *wiphy_new(const struct cfg80211_ops *ops, int sizeof_priv);
/**
* wiphy_register - register a wiphy with cfg80211