video:tegra: fix ioctl for 32/64bit compatibility
Anton Kondratenko [Thu, 6 Mar 2014 02:28:38 +0000 (18:28 -0800)]
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>

include/video/tegra_camera.h

index 9dea148..55e203e 100644 (file)
@@ -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 */
 };