]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (10960): omap24xxcam: don't set vfl_type.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 11 Mar 2009 07:34:09 +0000 (04:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:18 +0000 (12:43 -0300)
commitfc699d05a62a84662816c00d0824723354a38faf
treec4f20615ac3fe9badcf729a8c438cf9f85b7a152
parent145998d587308a694ad8c55d2ce5fdba201706ad
V4L/DVB (10960): omap24xxcam: don't set vfl_type.

The vfl_type field is set by the core, so anything you fill in here will
be overwritten. And it will be set to a VFL_TYPE_ value, not a VID_TYPE_
value which is an obsolete V4L1 type.

Since these V4L1 types have been made unavailable for V4L2 drivers, this
driver stopped compiling.

In this case the fix is just removing this assignment.

Cc: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap24xxcam.c