summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorDavid Kilroy2009-05-17 00:13:46 +0200
committerJohn W. Linville2009-05-20 20:46:27 +0200
commit3dcf670baf3d3a9bfc752e59d0b1a8d886230750 (patch)
tree843e1fbcfb9d2e62fbd7b419e7b8bf80b494cc61 /net/wireless/core.h
parentiwlwifi: drop iwl3945_tid_data (diff)
downloadkernel-qcow2-linux-3dcf670baf3d3a9bfc752e59d0b1a8d886230750.tar.gz
kernel-qcow2-linux-3dcf670baf3d3a9bfc752e59d0b1a8d886230750.tar.xz
kernel-qcow2-linux-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 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 88f234c8f6b3..9511c2be83d8 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -16,7 +16,7 @@
#include "reg.h"
struct cfg80211_registered_device {
- struct cfg80211_ops *ops;
+ const struct cfg80211_ops *ops;
struct list_head list;
/* we hold this mutex during any call so that
* we cannot do multiple calls at once, and also