#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/soc.h>
static struct snd_soc_dai_driver pcm5102a_dai = …;
static struct snd_soc_component_driver soc_component_dev_pcm5102a = …;
static int pcm5102a_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id pcm5102a_of_match[] = …;
MODULE_DEVICE_TABLE(of, pcm5102a_of_match);
static struct platform_driver pcm5102a_codec_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;