summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2006-01-01 17:17:38 +0000
committerMauro Carvalho Chehab <devnull@localhost>2006-01-01 17:17:38 +0000
commit71db43485e0f1643932551bbdfed881d7ff2c7a8 (patch)
tree5931097cd4d33a8c04b5d51380a7d33029ad11b7 /linux/drivers/media/video/cx88/cx88-video.c
parent1d77650f4c8ca8d7d6d5b84dce4f7e7d841ad6c2 (diff)
downloadmediapointer-dvb-s2-71db43485e0f1643932551bbdfed881d7ff2c7a8.tar.gz
mediapointer-dvb-s2-71db43485e0f1643932551bbdfed881d7ff2c7a8.tar.bz2
ioctls cleanups.
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 49a5db717..dcc4c1f61 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-video.c,v 1.103 2005/12/10 21:19:39 mchehab Exp $
+ * $Id: cx88-video.c,v 1.104 2006/01/01 17:17:39 mchehab Exp $
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
@@ -37,6 +37,7 @@
#include <asm/div64.h>
#include "cx88.h"
+#include <media/v4l2-common.h>
#if 1
/* Include V4L1 specific functions. Should be removed soon */
@@ -1377,7 +1378,7 @@ static int video_do_ioctl(struct inode *inode, struct file *file,
int err;
if (video_debug > 1)
- cx88_print_ioctl(core->name,cmd);
+ v4l_print_ioctl(core->name,cmd);
switch (cmd) {
/* --- capabilities ------------------------------------------ */
@@ -1515,7 +1516,7 @@ int cx88_do_ioctl(struct inode *inode, struct file *file, int radio,
dprintk( 1, "CORE IOCTL: 0x%x\n", cmd );
if (video_debug > 1)
- cx88_print_ioctl(core->name,cmd);
+ v4l_print_ioctl(core->name,cmd);
switch (cmd) {
/* ---------- tv norms ---------- */
@@ -1765,7 +1766,7 @@ static int radio_do_ioctl(struct inode *inode, struct file *file,
struct cx88_core *core = dev->core;
if (video_debug > 1)
- cx88_print_ioctl(core->name,cmd);
+ v4l_print_ioctl(core->name,cmd);
switch (cmd) {
case VIDIOC_QUERYCAP: