aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54/isl_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/prism54/isl_ioctl.c')
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index f1066614dc31..77ea13bf0c02 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -3239,10 +3239,9 @@ static const iw_handler prism54_private_handler[] = {
3239}; 3239};
3240 3240
3241const struct iw_handler_def prism54_handler_def = { 3241const struct iw_handler_def prism54_handler_def = {
3242 .num_standard = sizeof (prism54_handler) / sizeof (iw_handler), 3242 .num_standard = ARRAY_SIZE(prism54_handler),
3243 .num_private = sizeof (prism54_private_handler) / sizeof (iw_handler), 3243 .num_private = ARRAY_SIZE(prism54_private_handler),
3244 .num_private_args = 3244 .num_private_args = ARRAY_SIZE(prism54_private_args),
3245 sizeof (prism54_private_args) / sizeof (struct iw_priv_args),
3246 .standard = (iw_handler *) prism54_handler, 3245 .standard = (iw_handler *) prism54_handler,
3247 .private = (iw_handler *) prism54_private_handler, 3246 .private = (iw_handler *) prism54_private_handler,
3248 .private_args = (struct iw_priv_args *) prism54_private_args, 3247 .private_args = (struct iw_priv_args *) prism54_private_args,