Staging: go7007: Convert driver to use video_ioctl2
authorMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 12 Nov 2008 00:54:30 +0000 (22:54 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:52:06 +0000 (13:52 -0800)
commit65f9f6190b2e058f57acab7c2617ee1f5a35bd79
treeb255cd87d0d5f8704533c440b508517fdd7c563c
parentb11869dbb6cc4b4de8da302f758866d0a167a277
Staging: go7007: Convert driver to use video_ioctl2

go7007: Convert driver to use video_ioctl2

go7007 driver were using the old method of having a big switch for handling
ioctls. Use instead the new video_ioctl2 method.

This patch also adds support for the 2.6.19 new ioctls to enumberate video
formats and intervals.

Still lacking the implementation of compression ioctls needed on go7007.

This patch weren't tested, due to the lack of a hardware with me.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/go7007/go7007-v4l2.c