#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <sound/jack.h>
#include "../codecs/wm8731.h"
#define XTAL_RATE …
static int snd_proto_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static const struct snd_soc_dapm_widget snd_proto_widget[] = …;
static const struct snd_soc_dapm_route snd_proto_route[] = …;
static struct snd_soc_card snd_proto = …;
static int snd_proto_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id snd_proto_of_match[] = …;
MODULE_DEVICE_TABLE(of, snd_proto_of_match);
static struct platform_driver snd_proto_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;