#include <linux/device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#define STORM_SYSCLK_MULT …
static int storm_ops_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops storm_soc_ops = …;
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link storm_dai_link = …;
static int storm_parse_of(struct snd_soc_card *card)
{ … }
static int storm_platform_probe(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id storm_device_id[] = …;
MODULE_DEVICE_TABLE(of, storm_device_id);
#endif
static struct platform_driver storm_platform_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;