diff options
Diffstat (limited to 'include/sound/simple_card.h')
| -rw-r--r-- | include/sound/simple_card.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h index 4b62b8dc6a4..9b0ac77177b 100644 --- a/include/sound/simple_card.h +++ b/include/sound/simple_card.h @@ -14,25 +14,23 @@ #include <sound/soc.h> -struct asoc_simple_dai_init_info { +struct asoc_simple_dai { + const char *name; unsigned int fmt; - unsigned int cpu_daifmt; - unsigned int codec_daifmt; unsigned int sysclk; + int slots; + int slot_width; }; struct asoc_simple_card_info { const char *name; const char *card; - const char *cpu_dai; const char *codec; const char *platform; - const char *codec_dai; - struct asoc_simple_dai_init_info *init; /* for snd_link.init */ - /* used in simple-card.c */ - struct snd_soc_dai_link snd_link; - struct snd_soc_card snd_card; + unsigned int daifmt; + struct asoc_simple_dai cpu_dai; + struct asoc_simple_dai codec_dai; }; #endif /* __SIMPLE_CARD_H */ |
