#include <linux/of.h>
#include <linux/export.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <sound/soc-dapm.h>
#include "../codecs/wm8731.h"
#include "atmel_ssc_dai.h"
#define MCLK_RATE …
#define DRV_NAME …
struct sam9x5_drvdata { … };
static int sam9x5_wm8731_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static const struct snd_soc_dapm_widget sam9x5_dapm_widgets[] = …;
static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
{ … }
static void sam9x5_wm8731_driver_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id sam9x5_wm8731_of_match[] = …;
MODULE_DEVICE_TABLE(of, sam9x5_wm8731_of_match);
static struct platform_driver sam9x5_wm8731_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;