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>
Esse commit está contido em:
Bhumika Goyal
2017-08-23 18:06:42 +05:30
commit de Kalle Valo
commit 2c1dca3c6b
2 arquivos alterados com 3 adições e 3 exclusões

Ver arquivo

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