Skip to contentSkip to conversation

Compile error in latest git v2.6.27-rc4-161-g426e1ea and fixlet

PATCH Alejandro Riveira Fernández 1 participant 1 message Aug 25, 2008 Sound

lore
Share & tools
lore
#0 lore raw

sound/pci/ca0106/ca0106_main.c:263: error:

v2.6.27-rc4-161-g426e1ea

fails for me at compile time. Fix included

make -C /home/alex/kernel/linux-2.6 O=/home/alex/kernel/2.6.27/.
Using /home/alex/kernel/linux-2.6 as source for kernel

  GEN     /home/alex/kernel/2.6.27/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    /home/alex/kernel/linux-2.6/scripts/checksyscalls.sh
  CHK     include/linux/compile.h

VDSOSYM arch/x86/vdso/vdso-syms.lds
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
CC [M] sound/pci/ca0106/ca0106_main.o
/home/alex/kernel/linux-2.6/sound/pci/ca0106/ca0106_main.c:263: error:
expected '}' before '{' token
make[5]: *** [sound/pci/ca0106/ca0106_main.o] Error 1 make[4]: *** [sound/pci/ca0106] Error 2
make[3]: *** [sound/pci] Error 2
make[2]: *** [sound] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

sound/pci/ca0106/ca0106_main.c +1 -1
index 03a274b..a7d8966 100644
@@ -254,7 +254,7 @@ static struct snd_ca0106_details ca0106_chip_details[] = {
 	   .name   = "MSI K8N Diamond MB",
 	   .gpio_type = 2,
 	   .i2c_adc = 1,
-	   .spi_dac = 2 }
+	   .spi_dac = 2 } ,
 	 /* Shuttle XPC SD31P which has an onboard Creative Labs
 	  * Sound Blaster Live! 24-bit EAX
 	  * high-definition 7.1 audio processor".
Signature · 5 lines
The idea that Bill Gates has appeared like a knight in shining armour to
lead all customers out of a mire of technological chaos neatly ignores
the fact that it was he who, by peddling second-rate technology, led
them into it in the first place. 
                                     Douglas Adams