mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
ASoC: samsung: s3c-i2s-v2: Allow build for unsupported hardware
There is no particular need to restrict building of S3C I2S driver to supported platforms within the C unit, because Kconfig does it. Removing such restricting #ifdef from s3c-i2s-v2 allows compile testing it on other platforms. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220627143412.477226-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
77c77f03fe
commit
17a1ffc7bc
1 changed files with 0 additions and 11 deletions
|
@ -21,17 +21,6 @@
|
|||
#include "regs-i2s-v2.h"
|
||||
#include "s3c-i2s-v2.h"
|
||||
|
||||
#undef S3C_IIS_V2_SUPPORTED
|
||||
|
||||
#if defined(CONFIG_CPU_S3C2412) \
|
||||
|| defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_CPU_S5PV210)
|
||||
#define S3C_IIS_V2_SUPPORTED
|
||||
#endif
|
||||
|
||||
#ifndef S3C_IIS_V2_SUPPORTED
|
||||
#error Unsupported CPU model
|
||||
#endif
|
||||
|
||||
#define S3C2412_I2S_DEBUG_CON 0
|
||||
|
||||
static inline struct s3c_i2sv2_info *to_info(struct snd_soc_dai *cpu_dai)
|
||||
|
|
Loading…
Reference in a new issue