diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2007-10-01 06:45:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2007-10-01 06:45:22 -0300 |
commit | 45827bfd1b3f3fcd8a89244a3e50b618ee024475 (patch) | |
tree | 73a6907d92bef9b730288c539eec8c9600c2c39e /linux | |
parent | f3184e0af66f2e8991a09b68622f0a7cd52af88a (diff) | |
download | mediapointer-dvb-s2-45827bfd1b3f3fcd8a89244a3e50b618ee024475.tar.gz mediapointer-dvb-s2-45827bfd1b3f3fcd8a89244a3e50b618ee024475.tar.bz2 |
tm6000: make tm6000_devused static
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/staging/tm6000/tm6000-cards.c | 2 | ||||
-rw-r--r-- | linux/drivers/staging/tm6000/tm6000-video.c | 2 | ||||
-rw-r--r-- | linux/drivers/staging/tm6000/tm6000.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-cards.c b/linux/drivers/staging/tm6000/tm6000-cards.c index bda9c2a2d..3937b9749 100644 --- a/linux/drivers/staging/tm6000/tm6000-cards.c +++ b/linux/drivers/staging/tm6000/tm6000-cards.c @@ -45,6 +45,8 @@ static unsigned int card[] = {[0 ... (TM6000_MAXBOARDS - 1)] = UNSET }; module_param_array(card, int, NULL, 0444); +static unsigned long tm6000_devused; + #if 0 /* This will be needed sooner or later, to allow selecting video mux entries */ #define MAX_TM6000_INPUT 3 diff --git a/linux/drivers/staging/tm6000/tm6000-video.c b/linux/drivers/staging/tm6000/tm6000-video.c index 803487fc6..f0ec2a884 100644 --- a/linux/drivers/staging/tm6000/tm6000-video.c +++ b/linux/drivers/staging/tm6000/tm6000-video.c @@ -59,8 +59,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; diff --git a/linux/drivers/staging/tm6000/tm6000.h b/linux/drivers/staging/tm6000/tm6000.h index ce5dc2125..9a96d28ea 100644 --- a/linux/drivers/staging/tm6000/tm6000.h +++ b/linux/drivers/staging/tm6000/tm6000.h @@ -205,7 +205,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); |