Browse Source

[media] gspca - ov519: Reduce the size of some variables

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jean-François Moine 14 years ago
parent
commit
d6fa66384b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/media/video/gspca/ov519.c

+ 3 - 3
drivers/media/video/gspca/ov519.c

@@ -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];
 };