[media] gspca - ov519: Reduce the size of some variables
authorJean-François Moine <moinejf@free.fr>
Thu, 11 Nov 2010 11:05:50 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:41 +0000 (08:16 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c

index 8355c63ad55bf68fef25295d0282c9d16a345fa3..d73e1c75541b299c966e90e544b141af89fc75bc 100644 (file)
@@ -124,9 +124,9 @@ struct sd {
 #define SEN_OV8610 13
 
        u8 sensor_addr;
-       int sensor_width;
-       int sensor_height;
-       int sensor_reg_cache[256];
+       u16 sensor_width;
+       u16 sensor_height;
+       s16 sensor_reg_cache[256];
 
        u8 jpeg_hdr[JPEG_HDR_SZ];
 };