#include "../codecs/wm8994.h"
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <linux/module.h>
#include <linux/of.h>
#define SMDK_WM8994_FREQ …
static int smdk_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops smdk_ops = …;
static int smdk_wm8994_init_paiftx(struct snd_soc_pcm_runtime *rtd)
{ … }
SND_SOC_DAILINK_DEFS(…);
SND_SOC_DAILINK_DEFS(…);
static struct snd_soc_dai_link smdk_dai[] = …;
static struct snd_soc_card smdk = …;
static const struct of_device_id samsung_wm8994_of_match[] = …;
MODULE_DEVICE_TABLE(of, samsung_wm8994_of_match);
static int smdk_audio_probe(struct platform_device *pdev)
{ … }
static struct platform_driver smdk_audio_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;