V4L/DVB (5644): Usbvision: video_ioctl2 conversion
authorThierry MERLE <thierry.merle@free.fr>
Tue, 8 May 2007 20:22:29 +0000 (17:22 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:20 +0000 (14:23 -0300)
commitc5f48367fe54c46805774eeea8e828de54a5ad7b
tree5a78194b89745dc55054e6f656cacec20ca1a79b
parentea1f83cee96badc28d3f67ef29ac29c9d0eb0a1b
V4L/DVB (5644): Usbvision: video_ioctl2 conversion

The ioctl entry point, a big switch/case, is splitted in little
functions.

These functions are set as callbacks for the video_ioctl2 video4linux
facility.

This improves the driver memory consumption and enables the v4l1
compatibility as a side effect.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Acked-by: Dwaine P. Garden <dwainegarden@rogers.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-core.c
drivers/media/video/usbvision/usbvision-video.c
drivers/media/video/usbvision/usbvision.h