V4L/DVB (12803): tm6000: make tm6000_devused static
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 1 Oct 2007 09:45:22 +0000 (06:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:48 +0000 (00:39 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c
drivers/staging/tm6000/tm6000-video.c
drivers/staging/tm6000/tm6000.h

index c16f765..5544b8a 100644 (file)
@@ -44,6 +44,8 @@ static unsigned int card[]     = {[0 ... (TM6000_MAXBOARDS - 1)] = UNSET };
 
 module_param_array(card,  int, NULL, 0444);
 
+static unsigned long tm6000_devused;
+
 
 struct tm6000_board {
        char            *name;
index f7e8a37..58fcf6a 100644 (file)
@@ -54,8 +54,6 @@
 static unsigned int vid_limit = 16;    /* Video memory limit, in Mb */
 static int video_nr = -1;              /* /dev/videoN, -1 for autodetect */
 
-unsigned long tm6000_devused;
-
 /* Debug level */
 int tm6000_debug;
 
index ffc5501..045e676 100644 (file)
@@ -196,7 +196,6 @@ struct tm6000_fh {
                        V4L2_STD_NTSC_M_JP|V4L2_STD_SECAM
 
 /* In tm6000-core.c */
-extern unsigned long tm6000_devused;
 
 int tm6000_read_write_usb (struct tm6000_core *dev, u8 reqtype, u8 req,
                           u16 value, u16 index, u8 *buf, u16 len);