From: Antonio Ospite Date: Thu, 7 Apr 2011 10:10:39 +0000 (+0200) Subject: Shut up debug, to see how verbose the driver is X-Git-Url: https://git.ao2.it/gspca_kinect.git/commitdiff_plain/740d4aae827fcf03ed914dfe9beeb28e7f0395e6 Shut up debug, to see how verbose the driver is Signed-off-by: Antonio Ospite --- 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 */