Commit 068b16b6 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab

[media] exynos4-is: Convert index variable to signed

index variable is used to check the validity of the data by
testing for negative values. Hence make it signed.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 38c602b8
...@@ -425,7 +425,7 @@ struct fimc_dev { ...@@ -425,7 +425,7 @@ struct fimc_dev {
struct regmap *sysreg; struct regmap *sysreg;
const struct fimc_variant *variant; const struct fimc_variant *variant;
const struct fimc_drvdata *drv_data; const struct fimc_drvdata *drv_data;
u16 id; int id;
struct clk *clock[MAX_FIMC_CLOCKS]; struct clk *clock[MAX_FIMC_CLOCKS];
void __iomem *regs; void __iomem *regs;
wait_queue_head_t irq_queue; wait_queue_head_t irq_queue;
......
...@@ -140,7 +140,7 @@ struct fimc_lite { ...@@ -140,7 +140,7 @@ struct fimc_lite {
struct v4l2_subdev *sensor; struct v4l2_subdev *sensor;
struct v4l2_ctrl_handler ctrl_handler; struct v4l2_ctrl_handler ctrl_handler;
struct v4l2_ctrl *test_pattern; struct v4l2_ctrl *test_pattern;
u32 index; int index;
struct fimc_pipeline pipeline; struct fimc_pipeline pipeline;
const struct fimc_pipeline_ops *pipeline_ops; const struct fimc_pipeline_ops *pipeline_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment