#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 <linux/pci.h>
#include "amd.h"
#include "acp-mach.h"
#define DRV_NAME …
static struct acp_resource rsrc = …;
static struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_acp_machines[] = …;
static struct snd_soc_dai_driver acp70_dai[] = …;
static int acp_acp70_audio_probe(struct platform_device *pdev)
{ … }
static void acp_acp70_audio_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused acp70_pcm_resume(struct device *dev)
{ … }
static const struct dev_pm_ops acp70_dma_pm_ops = …;
static struct platform_driver acp70_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_IMPORT_NS(…);
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;