]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5514: Use the IS_ENABLED to supports the module build
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Wed, 26 Jul 2017 10:32:20 +0000 (18:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 11:25:51 +0000 (12:25 +0100)
commita1eac12f8ab6a1c3b26dc758b6231c07b3af115b
tree67576494b3bfbd1c610e93ad9da3b4409cf99c78
parentd7982b4ace05bc6326ac9b177f41aea6a8cee372
ASoC: rt5514: Use the IS_ENABLED to supports the module build

The patch uses the macro IS_ENABLED to make sure that the SPI function also
supports the module build.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514.c