#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <sound/soc.h>
#include "../codecs/wm8904.h"
#include "atmel_ssc_dai.h"
static const struct snd_soc_dapm_widget atmel_asoc_wm8904_dapm_widgets[] = …;
static int atmel_asoc_wm8904_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops atmel_asoc_wm8904_ops = …;
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link atmel_asoc_wm8904_dailink = …;
static struct snd_soc_card atmel_asoc_wm8904_card = …;
static int atmel_asoc_wm8904_dt_init(struct platform_device *pdev)
{ … }
static int atmel_asoc_wm8904_probe(struct platform_device *pdev)
{ … }
static void atmel_asoc_wm8904_remove(struct platform_device *pdev)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, atmel_asoc_wm8904_dt_ids);
#endif
static struct platform_driver atmel_asoc_wm8904_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;