#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/atmel-ssc.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include "../codecs/wm8731.h"
#include "atmel-pcm.h"
#include "atmel_ssc_dai.h"
#define MCLK_RATE …
#undef ENABLE_MIC_INPUT
static const struct snd_soc_dapm_widget at91sam9g20ek_dapm_widgets[] = …;
static const struct snd_soc_dapm_route intercon[] = …;
static int at91sam9g20ek_wm8731_init(struct snd_soc_pcm_runtime *rtd)
{ … }
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link at91sam9g20ek_dai = …;
static struct snd_soc_card snd_soc_at91sam9g20ek = …;
static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
{ … }
static void at91sam9g20ek_audio_remove(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id at91sam9g20ek_wm8731_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, at91sam9g20ek_wm8731_dt_ids);
#endif
static struct platform_driver at91sam9g20ek_audio_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_ALIAS(…) …;
MODULE_LICENSE(…) …;