aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-03-28 04:42:10 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:47 -0400
commit694dca2b80d5e17f5edddacf4fcdacc1091623f2 (patch)
tree66e55ce2c1033bd96038e346471640a64b24d2a7 /drivers/media
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/media')
-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 b711328400e1..195e974f5eb0 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[] = {
216}; 216};
217 217
218 218
219struct pvr2_fx2cmd_desc { 219struct pvr2_fx2cmd_descdef {
220 unsigned char id; 220 unsigned char id;
221 unsigned char *desc; 221 unsigned char *desc;
222}; 222};
223 223
224static const struct pvr2_fx2cmd_desc pvr2_fx2cmd_desc[] = { 224static const struct pvr2_fx2cmd_descdef pvr2_fx2cmd_desc[] = {
225 {FX2CMD_MEM_WRITE_DWORD, "write encoder dword"}, 225 {FX2CMD_MEM_WRITE_DWORD, "write encoder dword"},
226 {FX2CMD_MEM_READ_DWORD, "read encoder dword"}, 226 {FX2CMD_MEM_READ_DWORD, "read encoder dword"},
227 {FX2CMD_MEM_READ_64BYTES, "read encoder 64bytes"}, 227 {FX2CMD_MEM_READ_64BYTES, "read encoder 64bytes"},