/* SoC platform interface */ struct snd_soc_platform { char *name; struct list_head list;
int (*probe)(struct platform_device *pdev); int (*remove)(struct platform_device *pdev); int (*suspend)(struct snd_soc_dai *dai); int (*resume)(struct snd_soc_dai *dai);
/* pcm creation and destruction */ int (*pcm_new)(struct snd_card *, struct snd_soc_dai *, struct snd_pcm *); void (*pcm_free)(struct snd_pcm *);
/* platform stream ops */ struct snd_pcm_ops *pcm_ops;
};