#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/pcm.h>
#include "common.h"
#define SLIM_MAX_TX_PORTS …
#define SLIM_MAX_RX_PORTS …
#define WCD9335_DEFAULT_MCLK_RATE …
static int apq8096_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
struct snd_pcm_hw_params *params)
{ … }
static int msm_snd_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{ … }
static const struct snd_soc_ops apq8096_ops = …;
static int apq8096_init(struct snd_soc_pcm_runtime *rtd)
{ … }
static void apq8096_add_be_ops(struct snd_soc_card *card)
{ … }
static int apq8096_platform_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id msm_snd_apq8096_dt_match[] = …;
MODULE_DEVICE_TABLE(of, msm_snd_apq8096_dt_match);
static struct platform_driver msm_snd_apq8096_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;