Commit 694dca2b authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab

V4L/DVB (7703): pvrusb2: Fix minor problem involving ARRAY_SIZE confusion

Signed-off-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent bb0c2fe0
...@@ -216,12 +216,12 @@ static const char *pvr2_state_names[] = { ...@@ -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"},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment