summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-11-11 08:05:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:41 -0200
commitd6fa66384b38165126ce2866b4bdff756c6fc761 (patch)
tree9579eba6d9e0d7a3139a7caf5ff55337cb0e76dd /drivers/media
parent9d1593a84c09e57a9565baab931a6cf116120e05 (diff)
downloadlinux-d6fa66384b38165126ce2866b4bdff756c6fc761.tar.bz2
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/ov519.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index 8355c63ad55b..d73e1c75541b 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/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];
};