summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-11-11 11:05:50 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 10:16:41 (GMT)
commitd6fa66384b38165126ce2866b4bdff756c6fc761 (patch)
tree9579eba6d9e0d7a3139a7caf5ff55337cb0e76dd /drivers
parent9d1593a84c09e57a9565baab931a6cf116120e05 (diff)
downloadlinux-fsl-qoriq-d6fa66384b38165126ce2866b4bdff756c6fc761.tar.xz
[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')
-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 8355c63..d73e1c7 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];
};