From: Sachin Kamat Date: Tue, 30 Apr 2013 05:16:19 +0000 (-0300) Subject: [media] s3c-camif: Fix incorrect variable type X-Git-Tag: v3.10-rc7~29^2~29 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8410725333088643f49371396e727cc1e41ccfb5;p=~emulex%2Finfiniband.git [media] s3c-camif: Fix incorrect variable type 'rotation' was an 8 bit variable and hence could not have values greater than 255. Since we need higher values, change it to 16 bit type. Signed-off-by: Sachin Kamat Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/s3c-camif/camif-core.h b/drivers/media/platform/s3c-camif/camif-core.h index 261134baa65..35d2fcdc003 100644 --- a/drivers/media/platform/s3c-camif/camif-core.h +++ b/drivers/media/platform/s3c-camif/camif-core.h @@ -229,7 +229,7 @@ struct camif_vp { unsigned int state; u16 fmt_flags; u8 id; - u8 rotation; + u16 rotation; u8 hflip; u8 vflip; unsigned int offset;