aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-01-30 21:26:01 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:35:11 -0500
commit05ad390724d1f307111a322325df83282a1479e6 (patch)
tree8b8dc80c42e3139ae8aa308f80633b92079835f5 /drivers/media/video/pwc/pwc.h
parent6827709a6148a6e8530d90027b4f31aa0aaa5ae5 (diff)
V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings
The out of tree v4l-dvb build system didn't always override the kernel's configuration settings with v4l-dvb's settings correctly. To work around this, makefiles would define some new macro based on the setting of a config variable. e.g. the pwc Makefile would define CONFIG_PWC_DEBUG if CONFIG_USB_PWC_DEBUG (which is defined via Kconfig) was set. The v4l-dvb build system should now always override correctly, and this is no longer necessary. This patch gets ride of these extra defines and just uses the CONFIG_* settings directly. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r--drivers/media/video/pwc/pwc.h9
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
274extern int pwc_trace; 269extern int pwc_trace;
275#endif 270#endif
276extern int pwc_mbufs; 271extern int pwc_mbufs;