[alsa-devel] [PATCH] ASoC: codecs: fix wm8524 build error
Mihai Serban
mihai.serban at nxp.com
Tue Aug 1 09:17:14 CEST 2017
On Lu, 2017-07-31 at 18:05 +0200, Arnd Bergmann wrote:
> When CONFIG_OF is disabled, we run into a build error:
>
> sound/soc/codecs/wm8524.c:257:21: error: 'wm8524_of_match' undeclared
> here (not in a function); did you mean 'wm8524_dai'?
>
> This removes the unnecessary #ifdef around the match table.
>
> Fixes: 007b6a54c305 ("ASoC: codecs: add wm8524 codec driver")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Mihai Serban <mihai.serban at nxp.com>
More information about the Alsa-devel
mailing list