summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorRakesh Sharma <rasharma@nvidia.com>2013-12-16 14:33:01 +0530
committerMitch Luban <mluban@nvidia.com>2014-01-23 17:27:40 -0800
commitd91bb55dd9a3666a6f9382b35c1b0b4758c0d309 (patch)
treea3c1f0fcaa5624345ecbcacc78d89c3255eca130 /include/media
parent500e95b2a5d21e73cafe10bd1b2fb059ec4f02e2 (diff)
media: make int as __u32
In case of 64 bit kernel and 32 bit odm code int will create problem. Bug 1408558 Change-Id: I1a7e7e60838a9680d1bf6ff23f218b112b18022b Signed-off-by: Rakesh Sharma <rasharma@nvidia.com> Reviewed-on: http://git-master/r/345742 (cherry picked from commit 8dcb181367b4d6d0648551563e127519f9844072) Reviewed-on: http://git-master/r/358010 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/imx135.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/media/imx135.h b/include/media/imx135.h
index 082b63112770..81882b1741be 100644
--- a/include/media/imx135.h
+++ b/include/media/imx135.h
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2012-2013, NVIDIA Corporation. All rights reserved.
+ * Copyright (c) 2012-2014, NVIDIA Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -35,8 +35,8 @@
struct imx135_flash_control)
struct imx135_mode {
- int xres;
- int yres;
+ __u32 xres;
+ __u32 yres;
__u32 frame_length;
__u32 coarse_time;
__u32 coarse_time_short;