Re: [PATCH] ASoC: codecs: fix wm8524 build error
From: Mihai Serban
Date: Tue Aug 01 2017 - 03:17:25 EST
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@xxxxxxxx>
Acked-by: Mihai Serban <mihai.serban@xxxxxxx>