diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-video.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-video.c | 9 |
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"); | |||
57 | MODULE_PARM_DESC(vbi_nr, "vbi device numbers"); | 57 | MODULE_PARM_DESC(vbi_nr, "vbi device numbers"); |
58 | MODULE_PARM_DESC(radio_nr, "radio device numbers"); | 58 | MODULE_PARM_DESC(radio_nr, "radio device numbers"); |
59 | 59 | ||
60 | static unsigned int video_debug = 0; | 60 | static unsigned int video_debug; |
61 | module_param(video_debug, int, 0644); | 61 | module_param(video_debug, int, 0644); |
62 | MODULE_PARM_DESC(video_debug, "enable debug messages [video]"); | 62 | MODULE_PARM_DESC(video_debug, "enable debug messages [video]"); |
63 | 63 | ||
64 | static unsigned int irq_debug = 0; | 64 | static unsigned int irq_debug; |
65 | module_param(irq_debug, int, 0644); | 65 | module_param(irq_debug, int, 0644); |
66 | MODULE_PARM_DESC(irq_debug, "enable debug messages [IRQ handler]"); | 66 | MODULE_PARM_DESC(irq_debug, "enable debug messages [IRQ handler]"); |
67 | 67 | ||
@@ -70,8 +70,9 @@ module_param(vid_limit, int, 0644); | |||
70 | MODULE_PARM_DESC(vid_limit, "capture memory limit in megabytes"); | 70 | MODULE_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 */ |