ASoC: samsung: SMDK_WM8580_PCM needs REGMAP_I2C
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Apr 2014 11:18:24 +0000 (19:18 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 1 May 2014 03:30:43 +0000 (20:30 -0700)
This adds a missing dependency for SND_SOC_SMDK_WM8580_PCM to
require REGMAP_I2C to be enabled, avoiding possible build
erorrs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/Kconfig

index 50aa28963f49081c73c3f94167b6f4dc5831859b..c5fd242e6dab496937ba91528e6ce6494a3daa4c 100644 (file)
@@ -64,6 +64,7 @@ config SND_SOC_SAMSUNG_JIVE_WM8750
 config SND_SOC_SAMSUNG_SMDK_WM8580
        tristate "SoC I2S Audio support for WM8580 on SMDK"
        depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDK6440 || MACH_SMDK6450 || MACH_SMDKV210 || MACH_SMDKC110)
+       depends on REGMAP_I2C
        select SND_SOC_WM8580
        select SND_SAMSUNG_I2S
        help
@@ -178,6 +179,7 @@ config SND_SOC_SAMSUNG_SMDK_SPDIF
 config SND_SOC_SMDK_WM8580_PCM
        tristate "SoC PCM Audio support for WM8580 on SMDK"
        depends on SND_SOC_SAMSUNG && (MACH_SMDK6450 || MACH_SMDKV210 || MACH_SMDKC110)
+       depends on REGMAP_I2C
        select SND_SOC_WM8580
        select SND_SAMSUNG_PCM
        help