]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8427): videodev: split off the ioctl handling into v4l2-ioctl.c
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 20 Jul 2008 11:43:17 +0000 (08:43 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 23 Jul 2008 19:42:30 +0000 (16:42 -0300)
commit27a5e6d3fcce73ceeee8f3bdc9a30c4564233800
treef05a6c010bb54e41e254ec6a1fad112131a255e3
parenta4e0d9af403d099e751797f6cc69e4a8e2d78ef1
V4L/DVB (8427): videodev: split off the ioctl handling into v4l2-ioctl.c

videodev.c became top-heavy so all the ioctl processing has been split off
into v4l2-ioctl.c. This means videodev.c is back to its original purpose:
creating and registering v4l devices.

Since videodev.c and v4l2-ioctl.c should still remain one module (as least
for now) I also had to rename videodev.c to v4l2-dev.c to prevent a
circular dependency when building a videodev.ko module. This is not a bad
thing, since the source and header now have the same name. And the v4l2-
prefix is useful to see which sources are generic v4l2 support code.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/Makefile
drivers/media/video/v4l2-dev.c [new file with mode: 0644]
drivers/media/video/videodev.c