linux/sound/soc/codecs/max98357a.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved.
 *
 * max98357a.c -- MAX98357A ALSA SoC Codec driver
 */

#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/gpio/consumer.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <sound/soc-dai.h>
#include <sound/soc-dapm.h>

struct max98357a_priv {};

static int max98357a_daiops_trigger(struct snd_pcm_substream *substream,
		int cmd, struct snd_soc_dai *dai)
{}

static int max98357a_sdmode_event(struct snd_soc_dapm_widget *w,
		struct snd_kcontrol *kcontrol, int event)
{}

static const struct snd_soc_dapm_widget max98357a_dapm_widgets[] =;

static const struct snd_soc_dapm_route max98357a_dapm_routes[] =;

static const struct snd_soc_component_driver max98357a_component_driver =;

static const struct snd_soc_dai_ops max98357a_dai_ops =;

static struct snd_soc_dai_driver max98357a_dai_driver =;

static int max98357a_platform_probe(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id max98357a_device_id[] =;
MODULE_DEVICE_TABLE(of, max98357a_device_id);
#endif

#ifdef CONFIG_ACPI
static const struct acpi_device_id max98357a_acpi_match[] =;
MODULE_DEVICE_TABLE(acpi, max98357a_acpi_match);
#endif

static struct platform_driver max98357a_platform_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();