#include <linux/init.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/ac97_codec.h>
#include <sound/initval.h>
#include <sound/soc.h>
static const struct snd_soc_dapm_widget ac97_widgets[] = …;
static const struct snd_soc_dapm_route ac97_routes[] = …;
static int ac97_prepare(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{ … }
static const struct snd_soc_dai_ops ac97_dai_ops = …;
static struct snd_soc_dai_driver ac97_dai = …;
static int ac97_soc_probe(struct snd_soc_component *component)
{ … }
#ifdef CONFIG_PM
static int ac97_soc_suspend(struct snd_soc_component *component)
{ … }
static int ac97_soc_resume(struct snd_soc_component *component)
{ … }
#else
#define ac97_soc_suspend …
#define ac97_soc_resume …
#endif
static const struct snd_soc_component_driver soc_component_dev_ac97 = …;
static int ac97_probe(struct platform_device *pdev)
{ … }
static struct platform_driver ac97_codec_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;