From b2b2469453ba9130911ad68c19de057386d7e281 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Tue, 8 Nov 2005 17:52:04 +0000 Subject: * ../linux/drivers/media/video/saa7134/saa7134-alsa.c: Fix compilation with 2.6.8. Signed-off-by: Nickolay V. Shmyrev --- linux/drivers/media/video/saa7134/saa7134-alsa.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media') 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; -- cgit v1.2.3