From 8fefc4d0918a1a9a7af142725963dc3c93cdab2a Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Tue, 9 Nov 2004 11:34:59 +0000 Subject: - 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. --- linux/drivers/media/video/bttv-driver.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/bttv-driver.c') diff --git a/linux/drivers/media/video/bttv-driver.c b/linux/drivers/media/video/bttv-driver.c index 1864129b3..feb564ed4 100644 --- a/linux/drivers/media/video/bttv-driver.c +++ b/linux/drivers/media/video/bttv-driver.c @@ -1,5 +1,5 @@ /* - $Id: bttv-driver.c,v 1.27 2004/11/07 14:44:59 kraxel Exp $ + $Id: bttv-driver.c,v 1.28 2004/11/09 11:34:59 kraxel Exp $ bttv - Bt848 frame grabber driver @@ -105,7 +105,13 @@ module_param(adc_crush, int, 0444); module_param(whitecrush_upper, int, 0444); module_param(whitecrush_lower, int, 0444); module_param(vcr_hack, int, 0444); + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) +static int dummy; +module_param_array(radio, int, dummy, 0444); +#else module_param_array(radio, int, NULL, 0444); +#endif MODULE_PARM_DESC(radio,"The TV card supports radio, default is 0 (no)"); MODULE_PARM_DESC(bigendian,"byte order of the framebuffer, default is native endian"); -- cgit v1.2.3