Subject: Re: linux-next: Tree for Dec 12 (sound/soc/codecs/rt5640)

From: Randy Dunlap <[email-masked]>
Date: Fri, 12 Dec 2014 11:00:30 -0800

On 12/11/14 23:35, Stephen Rothwell wrote:
> Hi all,
> 
> Please do not add any code destined for v3.20 to your linux-next included
> trees/branches until after v3.19-rc1 is released.
> 
> Changes since 20141211:

on i386:

When CONFIG_ACPI is not enabled & CONFIG_I2C is not enabled:

warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH) selects SND_SST_IPC_ACPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && ACPI)

../sound/soc/codecs/rt5640.c:2252:1: warning: data definition has no type or storage class [enabled by default]
 module_i2c_driver(rt5640_i2c_driver);
 ^
../sound/soc/codecs/rt5640.c:2252:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
../sound/soc/codecs/rt5640.c:2252:1: warning: parameter names (without types) in function declaration [enabled by default]
../sound/soc/codecs/rt5640.c:2241:26: warning: 'rt5640_i2c_driver' defined but not used [-Wunused-variable]
 static struct i2c_driver rt5640_i2c_driver = {
                          ^
cc1: some warnings being treated as errors

Full randconfig file is attached.

Can (should) SND_SOC_INTEL_BYTCR_RT5640_MACH depend on I2C?

-- 
~Randy