ASoC: codecs: fix wm8524 build error
authorArnd Bergmann <arnd@arndb.de>
Mon, 31 Jul 2017 16:05:46 +0000 (18:05 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Aug 2017 11:31:37 +0000 (12:31 +0100)
commitbf11ecb7eebd28d70bf5aa3170c6fe7156c33c5b
tree795859a25ef4af96da0f08a28c253d7d25d648fe
parent007b6a54c305688d1db7255e5c724e3d76ba5aa4
ASoC: codecs: fix wm8524 build error

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@arndb.de>
Acked-by: Mihai Serban <mihai.serban@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8524.c