#include <linux/gpio/consumer.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/jack.h>
#include <sound/soc.h>
#include "../codecs/wm8903.h"
#include "tegra_asoc_machine.h"
static struct snd_soc_jack_pin tegra_wm8903_mic_jack_pins[] = …;
static unsigned int tegra_wm8903_mclk_rate(unsigned int srate)
{ … }
static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static int tegra_wm8903_remove(struct snd_soc_card *card)
{ … }
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link tegra_wm8903_dai = …;
static struct snd_soc_card snd_soc_tegra_wm8903 = …;
static const struct tegra_asoc_data tegra_wm8903_data_legacy = …;
static const struct tegra_asoc_data tegra_wm8903_data = …;
static const struct of_device_id tegra_wm8903_of_match[] = …;
MODULE_DEVICE_TABLE(of, tegra_wm8903_of_match);
static struct platform_driver tegra_wm8903_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;