summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttv-cards.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-11-09 11:34:59 +0000
committerGerd Knorr <devnull@localhost>2004-11-09 11:34:59 +0000
commit8fefc4d0918a1a9a7af142725963dc3c93cdab2a (patch)
treea25f3ebaceb27166d25fab47abbb9d2b91ecd5d0 /linux/drivers/media/video/bttv-cards.c
parent6a9fd7b88d365d8686adb88e32cf2bf056d63a08 (diff)
downloadmediapointer-dvb-s2-8fefc4d0918a1a9a7af142725963dc3c93cdab2a.tar.gz
mediapointer-dvb-s2-8fefc4d0918a1a9a7af142725963dc3c93cdab2a.tar.bz2
- avermedia fixes (by Nickolay V. Shmyrev).
- make it build on non-cutting edge kernels (i.e. 2.6.9 ;) - convert remaining modules to new-style insmod options.
Diffstat (limited to 'linux/drivers/media/video/bttv-cards.c')
-rw-r--r--linux/drivers/media/video/bttv-cards.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c
index 8aa672e4d..4df326b56 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.32 2004/11/07 13:17:14 kraxel Exp $
+ $Id: bttv-cards.c,v 1.33 2004/11/09 11:34:59 kraxel Exp $
bttv-cards.c
@@ -114,12 +114,22 @@ module_param(gpiomask, int, 0444);
module_param(audioall, int, 0444);
module_param(autoload, int, 0444);
+#if 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);
+module_param_array(tuner, int, dummy, 0444);
+module_param_array(svhs, int, dummy, 0444);
+module_param_array(remote, int, dummy, 0444);
+module_param_array(audiomux, int, dummy, 0444);
+#else
module_param_array(card, int, NULL, 0444);
module_param_array(pll, int, NULL, 0444);
module_param_array(tuner, int, NULL, 0444);
module_param_array(svhs, int, NULL, 0444);
module_param_array(remote, int, NULL, 0444);
module_param_array(audiomux, int, NULL, 0444);
+#endif
MODULE_PARM_DESC(triton1,"set ETBF pci config bit "
"[enable bug compatibility for triton1 + others]");