Skip to content

Commit

Permalink
V4L/DVB (8427): videodev: split off the ioctl handling into v4l2-ioctl.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jul 23, 2008
1 parent a4e0d9a commit 27a5e6d
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 2,262 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ msp3400-objs := msp3400-driver.o msp3400-kthreads.o

stkwebcam-objs := stk-webcam.o stk-sensor.o

videodev-objs := v4l2-dev.o v4l2-ioctl.o

obj-$(CONFIG_VIDEO_DEV) += videodev.o compat_ioctl32.o v4l2-int-device.o

obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o
Expand Down
Loading

0 comments on commit 27a5e6d

Please sign in to comment.