#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <linux/dma-mapping.h>
#include <linux/pm_runtime.h>
#include "amd.h"
#include "acp-mach.h"
#define DRV_NAME …
static struct acp_resource rsrc = …;
static struct snd_soc_acpi_codecs amp_rt1019 = …;
static struct snd_soc_acpi_codecs amp_max = …;
static struct snd_soc_acpi_mach snd_soc_acpi_amd_acp_machines[] = …;
static struct snd_soc_dai_driver acp_renoir_dai[] = …;
static int renoir_audio_probe(struct platform_device *pdev)
{ … }
static void renoir_audio_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused rn_pcm_resume(struct device *dev)
{ … }
static const struct dev_pm_ops rn_dma_pm_ops = …;
static struct platform_driver renoir_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_IMPORT_NS(…);
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;