From: Arnd Bergmann Date: Fri, 11 Jul 2014 13:45:04 +0000 (+0200) Subject: ASoC: samsung: add explicit i2c/spi dependencies X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~4^5~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d21e1b160561d2628af555aaf803c3d0ad28ed1a;p=pandora-kernel.git ASoC: samsung: add explicit i2c/spi dependencies I got another build error from SND_SOC_SMARTQ selecting SND_SOC_WM8750 without ensuring that I2C is enabled, in this example, i2c is a loadable module: sound/built-in.o: In function `wm8750_i2c_probe': :(.text+0x3e6c0): undefined reference to `devm_regmap_init_i2c' sound/built-in.o: In function `wm8750_exit': :(.exit.text+0x3f4): undefined reference to `i2c_del_driver' sound/built-in.o: In function `wm8750_modinit': :(.init.text+0x13d0): undefined reference to `i2c_register_driver' This changes the samsund ASoC Kconfig to have explicit I2C dependencies for each driver that uses an i2c bus and SPI dependencies for the ones using those. Signed-off-by: Arnd Bergmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed