diff options
author | Fang, Yang A <yang.a.fang@intel.com> | 2015-06-11 18:51:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-12 06:54:39 -0400 |
commit | fd35e37510e940ef360cde5adfa35eb4fdfe018c (patch) | |
tree | 3aaeb13877cf4fcc05b605d830e0e10fcd2e638f | |
parent | 4decab1aff2e34420c991571634ccdc1c0b43a60 (diff) |
ASoC: Intel: Added I2C dependency to two BSW machine drivers
Fixed below error/warnings
sound/built-in.o: In function `rt5645_i2c_probe':
>> rt5645.c:(.text+0xe38f5): undefined reference to
>> `devm_regmap_init_i2c'
sound/built-in.o: In function `rt5645_i2c_driver_exit':
>> rt5645.c:(.exit.text+0x60e): undefined reference to `i2c_del_driver'
sound/built-in.o: In function `rt5645_i2c_driver_init':
>> rt5645.c:(.init.text+0x1a90): undefined reference to
>> `i2c_register_driver'
Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index 791953ffbc41..f3060a4ca040 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig | |||
@@ -112,7 +112,7 @@ config SND_SOC_INTEL_CHT_BSW_RT5672_MACH | |||
112 | 112 | ||
113 | config SND_SOC_INTEL_CHT_BSW_RT5645_MACH | 113 | config SND_SOC_INTEL_CHT_BSW_RT5645_MACH |
114 | tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with RT5645/5650 codec" | 114 | tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with RT5645/5650 codec" |
115 | depends on X86_INTEL_LPSS | 115 | depends on X86_INTEL_LPSS && I2C |
116 | select SND_SOC_RT5645 | 116 | select SND_SOC_RT5645 |
117 | select SND_SST_MFLD_PLATFORM | 117 | select SND_SST_MFLD_PLATFORM |
118 | select SND_SST_IPC_ACPI | 118 | select SND_SST_IPC_ACPI |
@@ -123,7 +123,7 @@ config SND_SOC_INTEL_CHT_BSW_RT5645_MACH | |||
123 | 123 | ||
124 | config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH | 124 | config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH |
125 | tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with MAX98090 & TI codec" | 125 | tristate "ASoC Audio driver for Intel Cherrytrail & Braswell with MAX98090 & TI codec" |
126 | depends on X86_INTEL_LPSS | 126 | depends on X86_INTEL_LPSS && I2C |
127 | select SND_SOC_MAX98090 | 127 | select SND_SOC_MAX98090 |
128 | select SND_SOC_TS3A227E | 128 | select SND_SOC_TS3A227E |
129 | select SND_SST_MFLD_PLATFORM | 129 | select SND_SST_MFLD_PLATFORM |