ASoC: rt5514: Use the IS_ENABLED to supports the module build
author[email protected] <[email protected]>
Wed, 26 Jul 2017 10:32:20 +0000 (18:32 +0800)
committerMark Brown <[email protected]>
Wed, 26 Jul 2017 11:25:51 +0000 (12:25 +0100)
commitc2bf252536577db77c719f62a54cad2e4be5c4d7
tree67576494b3bfbd1c610e93ad9da3b4409cf99c78
parent8a43c2240c862bbf3fc612d0533b891bd75ec771
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/rt5514.c