ASoC: Build error if CONFIG_I2C=m && CONFIG_SND_SOC=y
Hi,
I got below build error if CONFIG_I2C=m && CONFIG_SND_SOC=y.
LD vmlinuxsound/built-in.o: In function `snd_soc_codec_set_cache_io':
last.c:(.text+0x2a0a8): undefined reference to `regmap_init_i2c'
make: *** [vmlinux] Error 1
( I test the build on linux-next 20111206 )
Regards,
Axel
Quoted 8 lines · Axel Lin
I got below build error if
CONFIG_I2C=m&&CONFIG_SND_SOC=y.LD vmlinux
sound/built-in.o: In function `snd_soc_codec_set_cache_io':
last.c:(.text+0x2a0a8): undefined reference to `regmap_init_i2c'
make: *** [vmlinux] Error 1( I test the build on linux-next 20111206 )
If someone wants to do the Kconfig or whatever to handle that they're welcome to but it's frankly unrealistic so...