From: Jean-François Moine Date: Thu, 11 Nov 2010 11:05:50 +0000 (-0300) Subject: [media] gspca - ov519: Reduce the size of some variables X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6fa66384b38165126ce2866b4bdff756c6fc761;p=openwrt%2Fstaging%2Fblogic.git [media] gspca - ov519: Reduce the size of some variables Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- 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]; };