]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sprd: Allow the MCDT driver to build into modules
authorBaolin Wang <baolin.wang7@gmail.com>
Thu, 5 Mar 2020 06:00:53 +0000 (14:00 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2020 13:15:17 +0000 (13:15 +0000)
commita1c9143933a75a6adb89632f0d7c750b9f39f2a7
tree3601213d7dd1141f318b5018e11f18b964c7da33
parent83c72c26388850e2a19edeb0f95ed389fa942315
ASoC: sprd: Allow the MCDT driver to build into modules

Change the config to 'tristate' for MCDT driver to allow it to build into
modules, as well as changing to use IS_ENABLED() to validate if need supply
dummy functions when building the MCDT driver as a module.

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/9306f2b99641136653ae4fe6cf9e859b7f698f77.1583387748.git.baolin.wang7@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sprd/Kconfig
sound/soc/sprd/sprd-mcdt.h