diff options
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r-- | drivers/media/video/pwc/pwc.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h index 7e9c4237d1e8..e778a2b8c280 100644 --- a/drivers/media/video/pwc/pwc.h +++ b/drivers/media/video/pwc/pwc.h | |||
@@ -39,11 +39,6 @@ | |||
39 | #include "pwc-uncompress.h" | 39 | #include "pwc-uncompress.h" |
40 | #include <media/pwc-ioctl.h> | 40 | #include <media/pwc-ioctl.h> |
41 | 41 | ||
42 | /* Turn some debugging options on/off */ | ||
43 | #ifndef CONFIG_PWC_DEBUG | ||
44 | #define CONFIG_PWC_DEBUG 1 | ||
45 | #endif | ||
46 | |||
47 | /* Version block */ | 42 | /* Version block */ |
48 | #define PWC_MAJOR 10 | 43 | #define PWC_MAJOR 10 |
49 | #define PWC_MINOR 0 | 44 | #define PWC_MINOR 0 |
@@ -76,7 +71,7 @@ | |||
76 | #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) | 71 | #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) |
77 | 72 | ||
78 | 73 | ||
79 | #if CONFIG_PWC_DEBUG | 74 | #ifdef CONFIG_USB_PWC_DEBUG |
80 | 75 | ||
81 | #define PWC_DEBUG_LEVEL (PWC_DEBUG_LEVEL_MODULE) | 76 | #define PWC_DEBUG_LEVEL (PWC_DEBUG_LEVEL_MODULE) |
82 | 77 | ||
@@ -270,7 +265,7 @@ extern "C" { | |||
270 | #endif | 265 | #endif |
271 | 266 | ||
272 | /* Global variables */ | 267 | /* Global variables */ |
273 | #if CONFIG_PWC_DEBUG | 268 | #ifdef CONFIG_USB_PWC_DEBUG |
274 | extern int pwc_trace; | 269 | extern int pwc_trace; |
275 | #endif | 270 | #endif |
276 | extern int pwc_mbufs; | 271 | extern int pwc_mbufs; |