aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-03-28 05:42:10 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:09:47 -0300
commit694dca2b80d5e17f5edddacf4fcdacc1091623f2 (patch)
tree66e55ce2c1033bd96038e346471640a64b24d2a7 /drivers
parentbb0c2fe0c423d6501395e626501dd8747823cafb (diff)
V4L/DVB (7703): pvrusb2: Fix minor problem involving ARRAY_SIZE confusion
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index b711328400e..195e974f5eb 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -216,12 +216,12 @@ static const char *pvr2_state_names[] = {
};
-struct pvr2_fx2cmd_desc {
+struct pvr2_fx2cmd_descdef {
unsigned char id;
unsigned char *desc;
};
-static const struct pvr2_fx2cmd_desc pvr2_fx2cmd_desc[] = {
+static const struct pvr2_fx2cmd_descdef pvr2_fx2cmd_desc[] = {
{FX2CMD_MEM_WRITE_DWORD, "write encoder dword"},
{FX2CMD_MEM_READ_DWORD, "read encoder dword"},
{FX2CMD_MEM_READ_64BYTES, "read encoder 64bytes"},