summaryrefslogtreecommitdiff
path: root/v4l_experimental/pvrusb2/pvrusb2-v4l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r--v4l_experimental/pvrusb2/pvrusb2-v4l2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l_experimental/pvrusb2/pvrusb2-v4l2.c b/v4l_experimental/pvrusb2/pvrusb2-v4l2.c
index d963d99ba..be5c84ae0 100644
--- a/v4l_experimental/pvrusb2/pvrusb2-v4l2.c
+++ b/v4l_experimental/pvrusb2/pvrusb2-v4l2.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: pvrusb2-v4l2.c,v 1.6 2006/01/14 21:11:17 mcisely Exp $
+ * $Id: pvrusb2-v4l2.c,v 1.7 2006/01/14 22:09:52 mcisely Exp $
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
@@ -351,7 +351,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
struct pvr2_hdw *hdw = fh->channel.mc_head->hdw;
int ret = -EINVAL;
- if (debug & PVR2_TRACE_V4LIOCTL) {
+ if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) {
v4l_print_ioctl(pvr2_hdw_get_driver_name(hdw),cmd);
}
@@ -848,11 +848,11 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
pvr2_hdw_commit_ctl(hdw);
if (ret < 0) {
- if (debug & PVR2_TRACE_V4LIOCTL) {
+ if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) {
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
"pvr2_v4l2_do_ioctl failure, ret=%d",ret);
} else {
- if (debug & PVR2_TRACE_ERROR_LEGS) {
+ if (pvrusb2_debug & PVR2_TRACE_ERROR_LEGS) {
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
"pvr2_v4l2_do_ioctl failure, ret=%d"
" command was:",ret);