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 c16f765aae57ab50398f78a16cd70e1812df75b3..5544b8a261977a0fd5e80965e338a21c860ed75b 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 f7e8a3710b37541733ddba5073add6a9f99dd3d1..58fcf6ae60695d03eb78d1a4e1fd649dab730892 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 ffc55019390dd2883bde6814beac37dd467a17ee..045e676cc8fa4bd426582a28f5dd3b944e03dcff 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);