ASoC: rsnd: SND_SOC_RCAR depends on COMMON_CLK
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 15 Sep 2015 02:41:05 +0000 (02:41 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 19:40:02 +0000 (20:40 +0100)
2a46db4a3("ASoC: rsnd: add AUDIO_CLKOUT support") uses
of_clk_add_provider() which is requesting struct clk_onecell_data.
But it is COMMON_CLK feature. SND_SOC_RCAR depends on COMMON_CLK

This patch also solved compile error of 7486d80f7("ASoC: rsnd: remove
unneeded sh_clk header")

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/Kconfig

index 07114b0b0dc12bcf23e0a25fb342ad3df23b2464..6ca90aaf141f62604c3756b88ffc1be4d024f718 100644 (file)
@@ -37,6 +37,7 @@ config SND_SOC_SH4_SIU
 config SND_SOC_RCAR
        tristate "R-Car series SRU/SCU/SSIU/SSI support"
        depends on DMA_OF
+       depends on COMMON_CLK
        select SND_SIMPLE_CARD
        select REGMAP_MMIO
        help