aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r--drivers/media/video/cx18/cx18-alsa-pcm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.c b/drivers/media/video/cx18/cx18-alsa-pcm.c
index 371dfb8d8756..2d25c6f92d5d 100644
--- a/drivers/media/video/cx18/cx18-alsa-pcm.c
+++ b/drivers/media/video/cx18/cx18-alsa-pcm.c
@@ -37,11 +37,13 @@
37#include "cx18-fileops.h" 37#include "cx18-fileops.h"
38#include "cx18-alsa.h" 38#include "cx18-alsa.h"
39 39
40extern int cx18_alsa_debug; 40static unsigned int pcm_debug;
41module_param(pcm_debug, int, 0644);
42MODULE_PARM_DESC(pcm_debug, "enable debug messages for pcm");
41 43
42#define dprintk(fmt, arg...) do { \ 44#define dprintk(fmt, arg...) do { \
43 if (cx18_alsa_debug) \ 45 if (pcm_debug) \
44 printk(KERN_INFO "cx18-alsa %s: " fmt, \ 46 printk(KERN_INFO "cx18-alsa-pcm %s: " fmt, \
45 __func__, ##arg); \ 47 __func__, ##arg); \
46 } while (0) 48 } while (0)
47 49