Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
 
 module_param_array(card,  int, NULL, 0444);
 
+static unsigned long tm6000_devused;
+
 
 struct tm6000_board {
        char            *name;
 
 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;
 
 
                        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);