media: tegra: Adding member flag in tegra_camera_clk_info
Sachin Nikam [Mon, 12 Sep 2011 08:54:04 +0000 (13:54 +0530)]
In struct tegra_camera_clk_info adding member flag.
This will create a same IOCTL number for TEGRA_CAMERA_IOCTL_CLK_SET_RATE
as of user space.

Bug 872674

Change-Id: I23c725a50bad429b27498662370698c6734f82d5
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/51762
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc70f14f716ed3df266d0ba37f993b29aa6c639a4

include/media/tegra_camera.h

index f88d376..240f2ad 100644 (file)
@@ -30,6 +30,7 @@ struct tegra_camera_clk_info {
        uint id;
        uint clk_id;
        unsigned long rate;
+       uint flag;      /* to inform if any special bits need to enabled/disabled */
 };
 
 enum StereoCameraMode {