summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttv-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-09 18:07:06 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-09 18:07:06 +0000
commit1c769dacd06c44528955753c2cac21b1d4b8ddef (patch)
treecbd22854f18480a8054382799ade8c765ab618d1 /linux/drivers/media/video/bttv-cards.c
parent15e9f7c5dda7607d5080c899de36fe6003e1318c (diff)
downloadmediapointer-dvb-s2-1c769dacd06c44528955753c2cac21b1d4b8ddef.tar.gz
mediapointer-dvb-s2-1c769dacd06c44528955753c2cac21b1d4b8ddef.tar.bz2
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/bttv-cards.c')
-rw-r--r--linux/drivers/media/video/bttv-cards.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c
index 5a0b52e8f..71dab01ac 100644
--- a/linux/drivers/media/video/bttv-cards.c
+++ b/linux/drivers/media/video/bttv-cards.c
@@ -1,5 +1,5 @@
/*
- $Id: bttv-cards.c,v 1.89 2005/10/06 03:09:59 mkrufky Exp $
+ $Id: bttv-cards.c,v 1.90 2005/10/09 18:07:06 mchehab Exp $
bttv-cards.c
@@ -125,7 +125,14 @@ module_param(gpiomask, int, 0444);
module_param(audioall, int, 0444);
module_param(autoload, int, 0444);
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+MODULE_PARM(card,"1-" __stringify(BTTV_MAX) "i");
+MODULE_PARM(pll,"1-" __stringify(BTTV_MAX) "i");
+MODULE_PARM(tuner,"1-" __stringify(BTTV_MAX) "i");
+MODULE_PARM(svhs,"1-" __stringify(BTTV_MAX) "i");
+MODULE_PARM(remote,"1-" __stringify(BTTV_MAX) "i");
+MODULE_PARM(audiomux,"1-" __stringify(BTTV_MAX) "i");
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
static int dummy;
module_param_array(card, int, dummy, 0444);
module_param_array(pll, int, dummy, 0444);