]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[media] tm6000-video.c: warning fix
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Dec 2012 17:21:23 +0000 (15:21 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Dec 2012 17:21:23 +0000 (15:21 -0200)
drivers/media/usb/tm6000/tm6000-video.c: In function '__check_keep_urb':
drivers/media/usb/tm6000/tm6000-video.c:1926:1: warning: return from incompatible pointer type [enabled by default]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tm6000/tm6000-video.c

index 82968017a2532ba373bf87fb97374efd9a015fe7..1edc2517603f33a812ef1202dc1541817a4f7900 100644 (file)
@@ -57,7 +57,7 @@
 static unsigned int vid_limit = 16;    /* Video memory limit, in Mb */
 static int video_nr = -1;              /* /dev/videoN, -1 for autodetect */
 static int radio_nr = -1;              /* /dev/radioN, -1 for autodetect */
-static int keep_urb;                   /* keep urb buffers allocated */
+static bool keep_urb;                  /* keep urb buffers allocated */
 
 /* Debug level */
 int tm6000_debug;