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>
This commit is contained in:
Mike Isely 2008-03-28 05:42:10 -03:00 committed by Mauro Carvalho Chehab
parent bb0c2fe0c4
commit 694dca2b80

View file

@ -216,12 +216,12 @@ static const char *pvr2_state_names[] = {
}; };
struct pvr2_fx2cmd_desc { struct pvr2_fx2cmd_descdef {
unsigned char id; unsigned char id;
unsigned char *desc; 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_WRITE_DWORD, "write encoder dword"},
{FX2CMD_MEM_READ_DWORD, "read encoder dword"}, {FX2CMD_MEM_READ_DWORD, "read encoder dword"},
{FX2CMD_MEM_READ_64BYTES, "read encoder 64bytes"}, {FX2CMD_MEM_READ_64BYTES, "read encoder 64bytes"},