diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 15:26:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:49 -0400 |
commit | 5121ea0481f9cea1dfd958f18d7b4ac78778cd40 (patch) | |
tree | 18aad23e91cf8cef7f287e0e05367d5e94ce9be5 /net/wireless/wext.c | |
parent | 0575606b086ad216b7b1976ca9b9a6e711db92f0 (diff) |
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 'net/wireless/wext.c')
-rw-r--r-- | net/wireless/wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 5da07e079c20..425f7d58b961 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c | |||
@@ -1376,7 +1376,7 @@ static void rtmsg_iwinfo(struct net_device *dev, char *event, int event_len) | |||
1376 | void wireless_send_event(struct net_device * dev, | 1376 | void wireless_send_event(struct net_device * dev, |
1377 | unsigned int cmd, | 1377 | unsigned int cmd, |
1378 | union iwreq_data * wrqu, | 1378 | union iwreq_data * wrqu, |
1379 | char * extra) | 1379 | const char * extra) |
1380 | { | 1380 | { |
1381 | const struct iw_ioctl_description * descr = NULL; | 1381 | const struct iw_ioctl_description * descr = NULL; |
1382 | int extra_len = 0; | 1382 | int extra_len = 0; |