aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-video.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-video.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c
index 44c809474ba1..d3c4d2c5cbe0 100644
--- a/drivers/media/video/cx23885/cx23885-video.c
+++ b/drivers/media/video/cx23885/cx23885-video.c
@@ -57,11 +57,11 @@ MODULE_PARM_DESC(video_nr, "video device numbers");
57MODULE_PARM_DESC(vbi_nr, "vbi device numbers"); 57MODULE_PARM_DESC(vbi_nr, "vbi device numbers");
58MODULE_PARM_DESC(radio_nr, "radio device numbers"); 58MODULE_PARM_DESC(radio_nr, "radio device numbers");
59 59
60static unsigned int video_debug = 0; 60static unsigned int video_debug;
61module_param(video_debug, int, 0644); 61module_param(video_debug, int, 0644);
62MODULE_PARM_DESC(video_debug, "enable debug messages [video]"); 62MODULE_PARM_DESC(video_debug, "enable debug messages [video]");
63 63
64static unsigned int irq_debug = 0; 64static unsigned int irq_debug;
65module_param(irq_debug, int, 0644); 65module_param(irq_debug, int, 0644);
66MODULE_PARM_DESC(irq_debug, "enable debug messages [IRQ handler]"); 66MODULE_PARM_DESC(irq_debug, "enable debug messages [IRQ handler]");
67 67
@@ -70,8 +70,9 @@ module_param(vid_limit, int, 0644);
70MODULE_PARM_DESC(vid_limit, "capture memory limit in megabytes"); 70MODULE_PARM_DESC(vid_limit, "capture memory limit in megabytes");
71 71
72#define dprintk(level, fmt, arg...)\ 72#define dprintk(level, fmt, arg...)\
73 if (video_debug >= level)\ 73 do { if (video_debug >= level)\
74 printk(KERN_DEBUG "%s/0: " fmt, dev->name, ## arg) 74 printk(KERN_DEBUG "%s/0: " fmt, dev->name, ## arg);\
75 } while (0)
75 76
76/* ------------------------------------------------------------------- */ 77/* ------------------------------------------------------------------- */
77/* static data */ 78/* static data */