summaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-v4l.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-22 13:27:02 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 05:09:26 -0200
commit01c2819330b1e0ec6b53dcfac76ad75ff2c8ba4f (patch)
treeeb38919c378681f5e8da6e3271f3d33008a6855b /drivers/media/usb/em28xx/em28xx-v4l.h
parent1f0ee65a3b6a3c78c4f6b10f8df5700a44ed3c36 (diff)
downloadlinux-01c2819330b1e0ec6b53dcfac76ad75ff2c8ba4f.tar.gz
linux-01c2819330b1e0ec6b53dcfac76ad75ff2c8ba4f.tar.xz
[media] em28xx: make em28xx-video to be a separate module
Now that all analog-specific code are at em28xx-video, convert it into an em28xx extension and load it as a separate module. Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com> Tested-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-v4l.h')
-rw-r--r--drivers/media/usb/em28xx/em28xx-v4l.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-v4l.h b/drivers/media/usb/em28xx/em28xx-v4l.h
new file mode 100644
index 000000000000..bce438691e0e
--- /dev/null
+++ b/drivers/media/usb/em28xx/em28xx-v4l.h
@@ -0,0 +1,20 @@
+/*
+ em28xx-video.c - driver for Empia EM2800/EM2820/2840 USB
+ video capture devices
+
+ Copyright (C) 2013-2014 Mauro Carvalho Chehab <m.chehab@samsung.com>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ */
+
+
+int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count);
+int em28xx_stop_vbi_streaming(struct vb2_queue *vq);
+extern struct vb2_ops em28xx_vbi_qops;