#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/slab.h>
#include <sound/soc.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <linux/of.h>
#define DRV_NAME …
#define STUB_RATES …
#define STUB_FORMATS …
static const struct snd_soc_dapm_widget dit_widgets[] = …;
static const struct snd_soc_dapm_route dit_routes[] = …;
static struct snd_soc_component_driver soc_codec_spdif_dit = …;
static struct snd_soc_dai_driver dit_stub_dai = …;
static int spdif_dit_probe(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id spdif_dit_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, spdif_dit_dt_ids);
#endif
static struct platform_driver spdif_dit_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;