From: Arnd Bergmann Date: Wed, 4 Jun 2014 09:40:40 +0000 (+0200) Subject: ASoC: samsung: Add I2C dependency for snow X-Git-Tag: cleanup-for-v3.18~103^2~5^2~4^5~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5264d0e6ef0a926eaf11313715c15de737b2f0b3;p=pandora-kernel.git ASoC: samsung: Add I2C dependency for snow Both codecs used by snow, max98090 and max98095 require the use of I2C, so we can only select this driver if I2C is there, otherwise we get a build error like: codecs/max98090.c:2494:1: warning: data definition has no type or storage class [enabled by default] module_i2c_driver(max98090_i2c_driver); ^ codecs/max98095.c:2443:1: warning: data definition has no type or storage class [enabled by default] module_i2c_driver(max98095_i2c_driver); ^ This adds one more I2C dependency to the hundreds we already have. Signed-off-by: Arnd Bergmann Acked-by: Tushar Behera Signed-off-by: Mark Brown --- Reading git-diff-tree failed