]> git.baikalelectronics.ru Git - kernel.git/commit
staging: tidspbridge: check for CONFIG_SND_OMAP_SOC_MCBSP
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 26 May 2014 19:47:11 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 03:19:26 +0000 (20:19 -0700)
commit8693e213c810edb5c50b5321110bd3c0ce1e59fe
treef23fb6f39d19e42e2aeb27ec5bab3b3bb598783e
parent8213499321afa0b00a5835db4ae68a7b79b86863
staging: tidspbridge: check for CONFIG_SND_OMAP_SOC_MCBSP

Commit d5d17237f2b4 ("ASoC: OMAP: Build config cleanup for McBSP")
removed the Kconfig symbol OMAP_MCBSP. It left two checks for
CONFIG_OMAP_MCBSP untouched.

Convert these to checks for CONFIG_SND_OMAP_SOC_MCBSP. That must be
correct, since that re-enables calls to functions that are all found in
sound/soc/omap/mcbsp.c. And that file is built only if
CONFIG_SND_OMAP_SOC_MCBSP is defined.

Fixes: d5d17237f2b4 ("ASoC: OMAP: Build config cleanup for McBSP")
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/core/dsp-clock.c