diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-05 12:07:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:06 -0500 |
commit | 53133afbeeb177487a907fdc2edf18f857497641 (patch) | |
tree | a391dd28bcd6017ffce6adc3ac4650fa4799d4d7 /drivers/media/dvb/dvb-usb/opera1.c | |
parent | f760d618ab385e1c4060f1bfebc335971a5b79f4 (diff) |
V4L/DVB (6578): dvb-usb: make some debug vars static
This patch makes some needlessly global debug variables static.
opera1.h became so small that I removed it.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/opera1.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/opera1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/opera1.c b/drivers/media/dvb/dvb-usb/opera1.c index d7c04951ceab..21935bf7059e 100644 --- a/drivers/media/dvb/dvb-usb/opera1.c +++ b/drivers/media/dvb/dvb-usb/opera1.c | |||
@@ -10,7 +10,9 @@ | |||
10 | * see Documentation/dvb/README.dvb-usb for more information | 10 | * see Documentation/dvb/README.dvb-usb for more information |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "opera1.h" | 13 | #define DVB_USB_LOG_PREFIX "opera" |
14 | |||
15 | #include "dvb-usb.h" | ||
14 | #include "stv0299.h" | 16 | #include "stv0299.h" |
15 | 17 | ||
16 | #define OPERA_READ_MSG 0 | 18 | #define OPERA_READ_MSG 0 |
@@ -38,7 +40,7 @@ struct opera_rc_keys { | |||
38 | u32 event; | 40 | u32 event; |
39 | }; | 41 | }; |
40 | 42 | ||
41 | int dvb_usb_opera1_debug; | 43 | static int dvb_usb_opera1_debug; |
42 | module_param_named(debug, dvb_usb_opera1_debug, int, 0644); | 44 | module_param_named(debug, dvb_usb_opera1_debug, int, 0644); |
43 | MODULE_PARM_DESC(debug, | 45 | MODULE_PARM_DESC(debug, |
44 | "set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64 (or-able))." | 46 | "set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64 (or-able))." |