From: Hans Verkuil Date: Wed, 3 Sep 2014 13:18:57 +0000 (-0300) Subject: [media] vivid: tpg_reset_source prototype mismatch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73d8102298719863d54264f62521362487f84256;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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;