v4l: add v4l1-compat.c
PATCH 1/1 v4l: add v4l1-compat.c
Hi,
This patch adds the v4l1-compat module to the linux kernel. This module helps v4l2 drivers to provide the old v4l API to applications by translating most old v4l ioctls into the new v4l2 ones. The new saa7134 driver needs this module.
please apply,
Gerd
drivers/media/video/Makefile +2 -2
@@ -5,14 +5,14 @@ # All of the (potential) objects that export symbols. # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'. -export-objs := videodev.o v4l2-common.o \ +export-objs := videodev.o v4l2-common.o v4l1-compat.o \ bttv-if.o cpia.o video-buf.o bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \ bttv-risc.o bttv-vbi.o zoran-objs := zr36120.o zr36120_i2c.o zr36120_mem.o -obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o +obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o v4l1-compat.o obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3400.o tvaudio.o \ tda7432.o tda9875.o tuner.o video-buf.o tda9887.o
drivers/media/video/v4l1-compat.c +1010 -0
1,010 lines not on this page · raw message
kernel/ksyms.c +1 -0
@@ -327,6 +327,7 @@EXPORT_SYMBOL (deactivate_super);EXPORT_SYMBOL (sget);EXPORT_SYMBOL (set_anon_super); +EXPORT_SYMBOL (do_select);/* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ EXPORT_SYMBOL (default_llseek);
Signature · 3 lines
You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20