diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-11-08 17:52:04 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-11-08 17:52:04 +0000 |
commit | b2b2469453ba9130911ad68c19de057386d7e281 (patch) | |
tree | 791098e26dccea1e008dfe732608c53b37960858 /linux/drivers/media | |
parent | 5bdb85f27e5b63366e61f242338a49a7a7145e1f (diff) | |
download | mediapointer-dvb-s2-b2b2469453ba9130911ad68c19de057386d7e281.tar.gz mediapointer-dvb-s2-b2b2469453ba9130911ad68c19de057386d7e281.tar.bz2 |
* ../linux/drivers/media/video/saa7134/saa7134-alsa.c:
Fix compilation with 2.6.8.
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-alsa.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c index f343d9ac9..8d2fa33db 100644 --- a/linux/drivers/media/video/saa7134/saa7134-alsa.c +++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c @@ -1,7 +1,7 @@ /* * SAA713x ALSA support for V4L * - * $Id: saa7134-alsa.c,v 1.19 2005/11/08 17:46:27 nsh Exp $ + * $Id: saa7134-alsa.c,v 1.20 2005/11/08 17:52:04 nsh Exp $ * * Caveats: * - Volume doesn't work (it's always at max) @@ -58,7 +58,12 @@ static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0}; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) +static int dummy; +module_param_array(index, int, dummy, 0444); +#else module_param_array(index, int, NULL, 0444); +#endif MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s)."); int position; |