#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/jack.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include "../codecs/wm8962.h"
static int sample_rate = …;
static int tobermory_set_bias_level(struct snd_soc_card *card,
struct snd_soc_dapm_context *dapm,
enum snd_soc_bias_level level)
{ … }
static int tobermory_set_bias_level_post(struct snd_soc_card *card,
struct snd_soc_dapm_context *dapm,
enum snd_soc_bias_level level)
{ … }
static int tobermory_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops tobermory_ops = …;
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link tobermory_dai[] = …;
static const struct snd_kcontrol_new controls[] = …;
static const struct snd_soc_dapm_widget widgets[] = …;
static const struct snd_soc_dapm_route audio_paths[] = …;
static struct snd_soc_jack tobermory_headset;
static struct snd_soc_jack_pin tobermory_headset_pins[] = …;
static int tobermory_late_probe(struct snd_soc_card *card)
{ … }
static struct snd_soc_card tobermory = …;
static int tobermory_probe(struct platform_device *pdev)
{ … }
static struct platform_driver tobermory_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;