OSDN Git Service

[media] vivid: tpg_reset_source prototype mismatch
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 3 Sep 2014 13:18:57 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 8 Sep 2014 13:00:58 +0000 (10:00 -0300)
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>
drivers/media/platform/vivid/vivid-tpg.c

index 57ff428..0c6fa53 100644 (file)
@@ -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;