summaryrefslogtreecommitdiff
path: root/include/sound/simple_card.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/simple_card.h')
-rw-r--r--include/sound/simple_card.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h
index 6c74527d4926..2e999916dbd7 100644
--- a/include/sound/simple_card.h
+++ b/include/sound/simple_card.h
@@ -1,38 +1,26 @@
-/*
+/* SPDX-License-Identifier: GPL-2.0
+ *
* ASoC simple sound card support
*
* Copyright (C) 2012 Renesas Solutions Corp.
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
*/
#ifndef __SIMPLE_CARD_H
#define __SIMPLE_CARD_H
#include <sound/soc.h>
+#include <sound/simple_card_utils.h>
-struct asoc_simple_dai {
- const char *name;
- unsigned int fmt;
- unsigned int sysclk;
-};
-
-struct asoc_simple_card_info {
+struct simple_util_info {
const char *name;
const char *card;
const char *codec;
const char *platform;
unsigned int daifmt;
- struct asoc_simple_dai cpu_dai;
- struct asoc_simple_dai codec_dai;
-
- /* used in simple-card.c */
- struct snd_soc_dai_link snd_link;
- struct snd_soc_card snd_card;
+ struct simple_util_dai cpu_dai;
+ struct simple_util_dai codec_dai;
};
#endif /* __SIMPLE_CARD_H */