Re: [PATCH] ASoC: Fix compile error if CONFIG_DEBUG_FS is notconfigured

From: Liam Girdwood
Date: Tue Nov 09 2010 - 05:07:01 EST


On Tue, 2010-11-09 at 17:06 +0800, Axel Lin wrote:
> Add soc_init_card_debugfs and soc_cleanup_card_debugfs functions to fix below error.
>
> CC sound/soc/soc-core.o
> sound/soc/soc-core.c: In function 'soc_probe':
> sound/soc/soc-core.c:1689: error: implicit declaration of function 'soc_init_card_debugfs'
> sound/soc/soc-core.c: In function 'soc_remove':
> sound/soc/soc-core.c:1718: error: implicit declaration of function 'soc_cleanup_card_debugfs'
> make[2]: *** [sound/soc/soc-core.o] Error 1
> make[1]: *** [sound/soc] Error 2
> make: *** [sound] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/