summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorAnton Kondratenko <akondratenko@nvidia.com>2014-03-05 18:28:38 -0800
committerThomas Cherry <tcherry@nvidia.com>2014-04-02 14:36:27 -0700
commite2671f264c8df106447103f2329d994f4952faa3 (patch)
tree2225c75d86ee00034143e48bb1b558820b2e2a94 /include/video
parent61b1c3b01c8dd3f94c6d494280531e0822ec2ca1 (diff)
video:tegra: fix ioctl for 32/64bit compatibility
Changes "long int" to uint in order to ensure AARCH32/AARCH64 compatibility. Bug 1466413 Change-Id: I0c17ff7e8710a62b1c93aade08f7999be66a2c3e Signed-off-by: Anton Kondratenko <akondratenko@nvidia.com> Reviewed-on: http://git-master/r/390364 Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/tegra_camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video/tegra_camera.h b/include/video/tegra_camera.h
index 9dea1485781d..55e203eda0cb 100644
--- a/include/video/tegra_camera.h
+++ b/include/video/tegra_camera.h
@@ -36,7 +36,7 @@ enum {
struct tegra_camera_clk_info {
uint id;
uint clk_id;
- unsigned long rate;
+ uint rate;
uint flag; /* to inform if any special bits need to enabled/disabled */
};