#include <linux/module.h>
#include <sound/sof.h>
#include "sof-audio.h"
#include "sof-priv.h"
static struct snd_soc_card sof_nocodec_card = …;
static int sof_nocodec_bes_setup(struct device *dev,
struct snd_soc_dai_driver *drv,
struct snd_soc_dai_link *links,
int link_num, struct snd_soc_card *card)
{ … }
static int sof_nocodec_setup(struct device *dev,
u32 num_dai_drivers,
struct snd_soc_dai_driver *dai_drivers)
{ … }
static int sof_nocodec_probe(struct platform_device *pdev)
{ … }
static struct platform_driver sof_nocodec_audio = …;
module_platform_driver(…) …
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_ALIAS(…) …;