#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>
static const struct snd_soc_dapm_widget dir_widgets[] = …;
static const struct snd_soc_dapm_route dir_routes[] = …;
#define STUB_RATES …
#define STUB_FORMATS …
static struct snd_soc_component_driver soc_codec_spdif_dir = …;
static struct snd_soc_dai_driver dir_stub_dai = …;
static int spdif_dir_probe(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id spdif_dir_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, spdif_dir_dt_ids);
#endif
static struct platform_driver spdif_dir_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;