[alsa-devel] ARM: OMAP: twl-common: Add helper function to register the omap-twl4030 audio driver

Brian Austin brian.austin at cirrus.com
Wed Aug 22 17:18:03 CEST 2012

Hey guys,

This commit 552d9dc316cfedd134ee882cd1ae24ca6934ffc0
breaks the build for OMAP3 Beagelboard. with the following error.

CC      arch/arm/mach-omap2/twl-common.o 
arch/arm/mach-omap2/twl-common.c:562: error: conflicting types for 
arch/arm/mach-omap2/twl-common.h:62: error: previous declaration of 
‘omap_twl4030_audio_init’ was here
make[1]: *** [arch/arm/mach-omap2/twl-common.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

You added a redifinition of omap_twl4030_audio_init in twl-common.c 
with the extra parameter of sysclk, but the header file has the definition 
with just the card_name.

I'm not sure which way ya'll wanted to go on this so I didnt submit a 
patch.  Just letting it be known.

This is off of for-next.


More information about the Alsa-devel mailing list