aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-09-03 10:18:57 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-08 10:00:58 -0300
commit73d8102298719863d54264f62521362487f84256 (patch)
treefb9c63304a20045108ce19687d68be2090598737
parent5754d0d586a5d7c6a6fa43551f6e3b377c5f111d (diff)
[media] vivid: tpg_reset_source prototype mismatch
Replaced enum v4l2_field by u32, just as the prototype in the header has. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/platform/vivid/vivid-tpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vivid/vivid-tpg.c b/drivers/media/platform/vivid/vivid-tpg.c
index 57ff428c897e..0c6fa53fa646 100644
--- a/drivers/media/platform/vivid/vivid-tpg.c
+++ b/drivers/media/platform/vivid/vivid-tpg.c
@@ -249,7 +249,7 @@ void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
}
void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
- enum v4l2_field field)
+ u32 field)
{
unsigned p;

Privacy Policy