On May 26, 2011, at 2:49 AM, jean-francois Moine wrote:

> On Wed, 25 May 2011 17:34:32 -0400
> Jarod Wilson <ja...@redhat.com> wrote:
> 
>> diff --git a/drivers/media/video/gspca/kinect.c 
>> b/drivers/media/video/gspca/kinect.c
>> index 66671a4..26fc206 100644
>> --- a/drivers/media/video/gspca/kinect.c
>> +++ b/drivers/media/video/gspca/kinect.c
>> @@ -34,7 +34,7 @@ MODULE_AUTHOR("Antonio Ospite <osp...@studenti.unina.it>");
>> MODULE_DESCRIPTION("GSPCA/Kinect Sensor Device USB Camera Driver");
>> MODULE_LICENSE("GPL");
>> 
>> -#ifdef DEBUG
>> +#ifdef GSPCA_DEBUG
>> int gspca_debug = D_ERR | D_PROBE | D_CONF | D_STREAM | D_FRAM | D_PACK |
>>      D_USBI | D_USBO | D_V4L2;
>> #endif
> 
> Hi Jarod,
> 
> Sorry, it is not the right fix. In fact, the variable gspca_debug must
> not be defined in gspca subdrivers:
> 
> --- a/drivers/media/video/gspca/kinect.c
> +++ b/drivers/media/video/gspca/kinect.c
> @@ -34,11 +34,6 @@
> 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;

Ah, ok, that works just as well for me, since I don't have the hardware,
was just looking to make sure things still complied. ;)

-- 
Jarod Wilson
ja...@wilsonet.com



--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to