diff options
author | Gerd Knorr <devnull@localhost> | 2004-11-09 11:34:59 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-11-09 11:34:59 +0000 |
commit | 8fefc4d0918a1a9a7af142725963dc3c93cdab2a (patch) | |
tree | a25f3ebaceb27166d25fab47abbb9d2b91ecd5d0 /linux/drivers/media/video/bttv-driver.c | |
parent | 6a9fd7b88d365d8686adb88e32cf2bf056d63a08 (diff) | |
download | mediapointer-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-driver.c')
-rw-r--r-- | linux/drivers/media/video/bttv-driver.c | 8 |
1 files changed, 7 insertions, 1 deletions
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"); |