aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-09-02 06:30:18 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:15 -0400
commitff8ac60948ba819b89e9c87083e8050fc2f89999 (patch)
tree611975d22d7ddd8c49a073c61e6e4b7c9523fedb /drivers/net/wireless/prism54
parent10d024c1b2fd58af8362670d7d6e5ae52fc33353 (diff)
drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE
Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wireless/prism54')
-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,