Skip to contentSkip to conversation

ASoC: Build error if CONFIG_I2C=m && CONFIG_SND_SOC=y

DISCUSSION Axel Lin 2 participants 2 messages Dec 6, 2011

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

Hi,
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 )

Regards,
Axel

#1 lore raw
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...