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>
This commit is contained in:
David Kilroy
2009-05-16 23:13:46 +01:00
committed by John W. Linville
parent c15ff61045
commit 3dcf670baf
3 changed files with 3 additions and 3 deletions

View File

@@ -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