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/cxusb.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/cxusb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 04e31cf7d530..5b6431ea38c1 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -32,9 +32,12 @@ | |||
32 | #include "zl10353.h" | 32 | #include "zl10353.h" |
33 | 33 | ||
34 | /* debug */ | 34 | /* debug */ |
35 | int dvb_usb_cxusb_debug; | 35 | static int dvb_usb_cxusb_debug; |
36 | module_param_named(debug, dvb_usb_cxusb_debug, int, 0644); | 36 | module_param_named(debug, dvb_usb_cxusb_debug, int, 0644); |
37 | MODULE_PARM_DESC(debug, "set debugging level (1=rc (or-able))." DVB_USB_DEBUG_STATUS); | 37 | MODULE_PARM_DESC(debug, "set debugging level (1=rc (or-able))." DVB_USB_DEBUG_STATUS); |
38 | #define deb_info(args...) dprintk(dvb_usb_cxusb_debug,0x01,args) | ||
39 | #define deb_i2c(args...) if (d->udev->descriptor.idVendor == USB_VID_MEDION) \ | ||
40 | dprintk(dvb_usb_cxusb_debug,0x01,args) | ||
38 | 41 | ||
39 | static int cxusb_ctrl_msg(struct dvb_usb_device *d, | 42 | static int cxusb_ctrl_msg(struct dvb_usb_device *d, |
40 | u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) | 43 | u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) |