V4L/DVB: tm6000: Fix warnings due to a small array size
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Oct 2010 01:54:33 +0000 (22:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:16:57 +0000 (01:16 -0200)
drivers/staging/tm6000/tm6000-stds.c:101: warning: excess elements in array initializer
drivers/staging/tm6000/tm6000-stds.c:101: warning: (near initialization for ‘tv_stds[0].common’)
drivers/staging/tm6000/tm6000-stds.c:160: warning: excess elements in array initializer
drivers/staging/tm6000/tm6000-stds.c:160: warning: (near initialization for ‘tv_stds[1].common’)
drivers/staging/tm6000/tm6000-stds.c:219: warning: excess elements in array initializer
drivers/staging/tm6000/tm6000-stds.c:219: warning: (near initialization for ‘tv_stds[2].common’)
drivers/staging/tm6000/tm6000-stds.c:336: warning: excess elements in array initializer
drivers/staging/tm6000/tm6000-stds.c:336: warning: (near initialization for ‘tv_stds[4].common’)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-stds.c

index f6aa75334d0dff39e9317b8608e30c1a41d9c613..fe22f427491a77e1f355f4581e9e74a6551d557e 100644 (file)
@@ -32,7 +32,7 @@ struct tm6000_std_tv_settings {
        v4l2_std_id id;
        struct tm6000_reg_settings sif[12];
        struct tm6000_reg_settings nosif[12];
-       struct tm6000_reg_settings common[25];
+       struct tm6000_reg_settings common[26];
 };
 
 struct tm6000_std_settings {