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)
commitd3921a03a89acb1b9ca599590c0131c89f8737d8
treef23fb6f39d19e42e2aeb27ec5bab3b3bb598783e
parentf8cc81f845456c126fd0ab4d8379a8c47f5ca743
staging: tidspbridge: check for CONFIG_SND_OMAP_SOC_MCBSP

Commit d0f47ff17f29 ("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: d0f47ff17f29 ("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