summaryrefslogtreecommitdiff
path: root/include/net/iw_handler.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-01 23:26:50 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 23:01:49 +0400
commit5121ea0481f9cea1dfd958f18d7b4ac78778cd40 (patch)
tree18aad23e91cf8cef7f287e0e05367d5e94ce9be5 /include/net/iw_handler.h
parent0575606b086ad216b7b1976ca9b9a6e711db92f0 (diff)
downloadlinux-5121ea0481f9cea1dfd958f18d7b4ac78778cd40.tar.xz
wext: constify extra argument to wireless_send_event
This is never changed by the function, so can be marked const. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/iw_handler.h')
-rw-r--r--include/net/iw_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index 51b9a37de991..2b3fbbb8669e 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -443,7 +443,7 @@ extern int dev_get_wireless_info(char * buffer, char **start, off_t offset,
extern void wireless_send_event(struct net_device * dev,
unsigned int cmd,
union iwreq_data * wrqu,
- char * extra);
+ const char * extra);
/* We may need a function to send a stream of events to user space.
* More on that later... */