#include <linux/clk.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include "i2s.h"
#define FIN_PLL_RATE …
SND_SOC_DAILINK_DEFS(…);
struct snow_priv { … };
static int snow_card_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops snow_card_ops = …;
static int snow_late_probe(struct snd_soc_card *card)
{ … }
static struct snd_soc_card snow_snd = …;
static int snow_probe(struct platform_device *pdev)
{ … }
static void snow_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id snow_of_match[] = …;
MODULE_DEVICE_TABLE(of, snow_of_match);
static struct platform_driver snow_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;