]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8791): v4l2-dev: do not clear the driver_data field
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 24 Aug 2008 14:18:47 +0000 (11:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:54 +0000 (09:36 -0200)
commit9d95af9d09d537d287eea9914c0d1ca4cfa0ec7f
tree33fa1c6fb5aed9a056cc5baec7f9b8c70654d45e
parentc170ecf434bceb0e188b14a6deb3bfa3ec9ef699
V4L/DVB (8791): v4l2-dev: do not clear the driver_data field

The driver_data field of the device structure was zeroed, thus losing
this information. Many drivers set this up before calling
video_device_register, so we have to ensure that it isn't lost.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c