diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-13 17:39:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-13 17:44:37 +0100 |
commit | d13e4362dec91304143875d9b8e1348bdfe69e63 (patch) | |
tree | c13f5ae8c0f91946003c076c0ba52b414b7095fe /sound/soc/codecs/wm8728.c | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | blackbird-op-linux-d13e4362dec91304143875d9b8e1348bdfe69e63.tar.gz blackbird-op-linux-d13e4362dec91304143875d9b8e1348bdfe69e63.zip |
ASoC: fix ABE_TWL6040 dependency
The TWL6040 ASoC support has recently started turning on CLK_TWL6040,
but that fails to build when CONFIG_COMMON_CLK is disabled:
warning: (SND_OMAP_SOC_OMAP_ABE_TWL6040) selects CLK_TWL6040 which has unmet direct dependencies (COMMON_CLK && TWL6040_CORE)
0xF18E38F6 Thu Jun 9 18:57:32 CEST 2016 failed
In file included from ../include/linux/clocksource.h:18:0,
from ../drivers/clocksource/timer-nps.c:34:
../include/linux/of.h:1005:20: error: comparison of distinct pointer types lacks a cast [-Werror]
.data = (fn == (fn_type)NULL) ? fn : fn }
^
This adds a dependency to avoid the invalid configuration.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 443500a3927a ("ASoC: omap: Kconfig: SND_OMAP_SOC_OMAP_ABE_TWL6040 to select CLK_TWL6040")
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8728.c')
0 files changed, 0 insertions, 0 deletions