#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "../codecs/wm8994.h"
#include "i2s.h"
static int arndale_rt5631_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops arndale_rt5631_ops = …;
static int arndale_wm1811_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops arndale_wm1811_ops = …;
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link arndale_rt5631_dai[] = …;
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link arndale_wm1811_dai[] = …;
static struct snd_soc_card arndale_rt5631 = …;
static struct snd_soc_card arndale_wm1811 = …;
static void arndale_put_of_nodes(struct snd_soc_card *card)
{ … }
static int arndale_audio_probe(struct platform_device *pdev)
{ … }
static void arndale_audio_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id arndale_audio_of_match[] = …;
MODULE_DEVICE_TABLE(of, arndale_audio_of_match);
static struct platform_driver arndale_audio_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;