search for: sndrv_card

Displaying 2 results from an estimated 2 matches for "sndrv_card".

Did you mean: sndrv_cards
2006 Jan 12
0
compiling and getting an error
...ed a bluetooth module today (btsco.41.tgz) I am getting an error on line 88 when compiling and trying to figure out why??? I have compared it to alsa-driver code and it looks good to me. here is the source snippit: ----------------- the following line is line 86 --------------- static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; module_param_array(index, int, NULL, 0444); MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset Soundcard."); ------------------------------------------------------------------- below is the compile output. [root at geisjdell kernel]#...
2006 Jan 13
0
help compiling bluetooth package
...ernel/btsco.c:88: error: (near initialization for `__param_arr_index.num') make[2]: *** [/usr/src/btsco-0.41/kernel/btsco.o] Error 1 make[1]: *** [_module_/usr/src/btsco-0.41/kernel] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.1.EL-i686' THe source is: static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; module_param_array(index, int, NULL, 0444); MODULE_PARM_DESC(index, "Index value for Bluetooth SCO Headset Soundcard."); Can someone who knows more than me about kernel happenings try to compile this and see what you get. I am using straight 4.2 ce...