Commit 8a0f62b8 authored by Mark Brown's avatar Mark Brown

ASoC: Check for supported CPUs when building s3c-i2s-v2

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 09aa60df
...@@ -37,6 +37,20 @@ ...@@ -37,6 +37,20 @@
#include "s3c-i2s-v2.h" #include "s3c-i2s-v2.h"
#undef S3C_IIS_V2_SUPPORTED
#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
#define S3C_IIS_V2_SUPPORTED
#endif
#ifdef CONFIG_PLAT_S3C64XX
#define S3C_IIS_V2_SUPPORTED
#endif
#ifndef S3C_IIS_V2_SUPPORTED
#error Unsupported CPU model
#endif
#define S3C2412_I2S_DEBUG_CON 0 #define S3C2412_I2S_DEBUG_CON 0
static inline struct s3c_i2sv2_info *to_info(struct snd_soc_dai *cpu_dai) static inline struct s3c_i2sv2_info *to_info(struct snd_soc_dai *cpu_dai)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment