linux-next: build failure after merge of the final tree (sound-asoctree related)

From: Stephen Rothwell
Date: Tue Jul 23 2013 - 00:06:53 EST


Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

sound/soc/mxs/mxs-saif.c: In function 'mxs_saif_mclk_init':
sound/soc/mxs/mxs-saif.c:668:2: error: implicit declaration of function 'clk_register_divider' [-Werror=implicit-function-declaration]
clk = clk_register_divider(&pdev->dev, "mxs_saif_mclk",
^
sound/soc/mxs/mxs-saif.c:669:8: error: implicit declaration of function '__clk_get_name' [-Werror=implicit-function-declaration]
__clk_get_name(saif->clk), 0,
^
sound/soc/mxs/mxs-saif.c:668:6: warning: assignment makes pointer from integer without a cast [enabled by default]
clk = clk_register_divider(&pdev->dev, "mxs_saif_mclk",
^
sound/soc/mxs/mxs-saif.c:681:2: error: implicit declaration of function 'of_clk_add_provider' [-Werror=implicit-function-declaration]
ret = of_clk_add_provider(np, of_clk_src_simple_get, clk);
^
sound/soc/mxs/mxs-saif.c:681:32: error: 'of_clk_src_simple_get' undeclared (first use in this function)
ret = of_clk_add_provider(np, of_clk_src_simple_get, clk);
^
sound/soc/mxs/mxs-saif.c:681:32: note: each undeclared identifier is reported only once for each function it appears in

Probably caused (or at least exposed) by commit 8ccbc3ebe9a7 ("ASoC: mxs:
Enable COMPILE_TEST builds").

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature