]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7703): pvrusb2: Fix minor problem involving ARRAY_SIZE confusion
authorMike Isely <isely@pobox.com>
Fri, 28 Mar 2008 08:42:10 +0000 (05:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:47 +0000 (14:09 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index b711328400e14850b5f7aa7018bcae29c73ebb92..195e974f5eb086912c83769b562d9abe789346e1 100644 (file)
@@ -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"},