From 740d4aae827fcf03ed914dfe9beeb28e7f0395e6 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Thu, 7 Apr 2011 12:10:39 +0200 Subject: [PATCH] Shut up debug, to see how verbose the driver is Signed-off-by: Antonio Ospite --- kinect.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kinect.c b/kinect.c index 34cbf0b..0322bad 100644 --- a/kinect.c +++ b/kinect.c @@ -31,6 +31,11 @@ MODULE_AUTHOR("Antonio Ospite "); MODULE_DESCRIPTION("GSPCA/Kinect Sensor Device USB Camera Driver"); MODULE_LICENSE("GPL"); +#ifdef DEBUG +int gspca_debug = D_ERR | D_PROBE | D_CONF | D_STREAM | D_FRAM | D_PACK | + D_USBI | D_USBO | D_V4L2; +#endif + struct pkt_hdr { uint8_t magic[2]; uint8_t pad; @@ -49,9 +54,6 @@ typedef struct { uint16_t tag; } cam_hdr; -int gspca_debug = D_ERR | D_PROBE | D_CONF | D_STREAM | D_FRAM | D_PACK | - D_USBI | D_USBO | D_V4L2; - /* specific webcam descriptor */ struct sd { struct gspca_dev gspca_dev; /* !! must be the first item */ -- 2.1.4