diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-23 15:36:42 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-08-24 12:58:17 +0300 |
commit | 2c1dca3c6b222a389c5dfebfcdd6fe3c87e5aa75 (patch) | |
tree | 56307c45dd251fc654b5034313a790399ccc8faf /drivers/net/wireless/intel/ipw2x00/ipw2200.c | |
parent | 9ea792a48cdd9229c9dd698f68dd4ee831bd8644 (diff) | |
download | linux-2c1dca3c6b222a389c5dfebfcdd6fe3c87e5aa75.tar.xz |
wireless: ipw2x00: make iw_handler_def const
Make these const as they are only stored in the const field of a
net_device structure.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/ipw2x00/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c index c57c567add4d..8da87496cb58 100644 --- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c @@ -10009,7 +10009,7 @@ static iw_handler ipw_priv_handler[] = { #endif }; -static struct iw_handler_def ipw_wx_handler_def = { +static const struct iw_handler_def ipw_wx_handler_def = { .standard = ipw_wx_handlers, .num_standard = ARRAY_SIZE(ipw_wx_handlers), .num_private = ARRAY_SIZE(ipw_priv_handler), |