Skip to content

Commit bf5bb8d

Browse files
morimotobroonie
authored andcommitted
ASoC: soc-card: move snd_soc_card_subclass to soc-card
Card related function should be implemented at soc-card now. This patch moves it. Signed-off-by: Kuninori Morimoto <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 65a7571 commit bf5bb8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/sound/soc-card.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
#ifndef __SOC_CARD_H
99
#define __SOC_CARD_H
1010

11+
enum snd_soc_card_subclass {
12+
SND_SOC_CARD_CLASS_INIT = 0,
13+
SND_SOC_CARD_CLASS_RUNTIME = 1,
14+
};
15+
1116
struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
1217
const char *name);
1318
int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,

include/sound/soc.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,6 @@ enum snd_soc_pcm_subclass {
414414
SND_SOC_PCM_CLASS_BE = 1,
415415
};
416416

417-
enum snd_soc_card_subclass {
418-
SND_SOC_CARD_CLASS_INIT = 0,
419-
SND_SOC_CARD_CLASS_RUNTIME = 1,
420-
};
421-
422417
int snd_soc_register_card(struct snd_soc_card *card);
423418
int snd_soc_unregister_card(struct snd_soc_card *card);
424419
int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card);

0 commit comments

Comments
 (0)