Переглянути джерело

[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>
Hans Verkuil 11 роки тому
батько
коміт
73d8102298
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      drivers/media/platform/vivid/vivid-tpg.c

+ 1 - 1
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;