aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-01-19 22:39:17 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:41 -0500
commit27c7b710a4010e10b14500c0b27bb4c2a806de1b (patch)
tree5f4285057225c3c08e2d560dfc1c298ac3e738d5 /drivers/media/video/pvrusb2/pvrusb2-hdw.c
parentca545f7c39476c6c4c6e639452180a2b38342669 (diff)
V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 7f9168538245..5e166ed19fc5 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -723,7 +723,7 @@ static void ctrl_stdenumcur_clear_dirty(struct pvr2_ctrl *cptr)
723 723
724#define DEFENUM(tab) \ 724#define DEFENUM(tab) \
725 .type = pvr2_ctl_enum, \ 725 .type = pvr2_ctl_enum, \
726 .def.type_enum.count = (sizeof(tab)/sizeof((tab)[0])), \ 726 .def.type_enum.count = ARRAY_SIZE(tab), \
727 .def.type_enum.value_names = tab 727 .def.type_enum.value_names = tab
728 728
729#define DEFBOOL \ 729#define DEFBOOL \