Hi, * Ramón Finger Lilienthal <ramon@xxxxxxxxxxxxxxxx> [080909 11:24]: > Dear friends, > > I am trying to compile the kernel for omap5912, and it's not working. > My current kernel version is: > VERSION = 2 > PATCHLEVEL = 6 > SUBLEVEL = 27 > EXTRAVERSION = -rc5 > NAME = Rotary Wombat > > I got this error from compiler: > ----------------------------------------------------------------------------------------------------------- > LD drivers/hwmon/built-in.o > CC drivers/i2c/i2c-boardinfo.o > CC drivers/i2c/i2c-core.o > CC drivers/i2c/i2c-dev.o > LD drivers/i2c/algos/built-in.o > CC drivers/i2c/busses/i2c-omap.o > LD drivers/i2c/busses/built-in.o > CC drivers/i2c/chips/tps65010.o > LD drivers/i2c/chips/built-in.o > CC [M] drivers/i2c/chips/tlv320aic23.o > drivers/i2c/chips/tlv320aic23.c: In function ‘omap_mcbsp3_aic23_clock_init’: > drivers/i2c/chips/tlv320aic23.c:113: error: implicit declaration of > function ‘OMAP_MCBSP_WRITE’ > drivers/i2c/chips/tlv320aic23.c:113: error: ‘SPCR1’ undeclared (first > use in this function) > drivers/i2c/chips/tlv320aic23.c:113: error: (Each undeclared identifier > is reported only once > drivers/i2c/chips/tlv320aic23.c:113: error: for each function it appears > in.) > drivers/i2c/chips/tlv320aic23.c:114: error: ‘SPCR2’ undeclared (first > use in this function) > drivers/i2c/chips/tlv320aic23.c:117: error: ‘PCR0’ undeclared (first use > in this function) > drivers/i2c/chips/tlv320aic23.c:120: error: ‘SRGR1’ undeclared (first > use in this function) > drivers/i2c/chips/tlv320aic23.c:121: error: ‘SRGR2’ undeclared (first > use in this function) > drivers/i2c/chips/tlv320aic23.c:124: error: implicit declaration of > function ‘OMAP_MCBSP_READ’ > drivers/i2c/chips/tlv320aic23.c: At top level: > drivers/i2c/chips/tlv320aic23.c:287: error: redefinition of > ‘aic23_power_down’ > arch/arm/plat-omap/include/mach/aic23.h:122: error: previous definition > of ‘aic23_power_down’ was here > drivers/i2c/chips/tlv320aic23.c:296: error: redefinition of ‘aic23_power_up’ > arch/arm/plat-omap/include/mach/aic23.h:118: error: previous definition > of ‘aic23_power_up’ was here > make[3]: *** [drivers/i2c/chips/tlv320aic23.o] Error 1 > make[2]: *** [drivers/i2c/chips] Error 2 > make[1]: *** [drivers/i2c] Error 2 > make: *** [drivers] Error 2 > ----------------------------------------------------------------------------------------------------------- > > Any help will be welcome! Sorry, we're in process of getting rid of the old audio drivers to move to the omap ASoC, and the old drivers will then be removed. Please search for the mailling list archives for ASoC and osk, there's some work in progress to make the omap ASoC to work with osk. Alternatively, there's a patch that still allows direct messing of McBSP registers that you can use as a temporary fix. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html