linux/sound/soc/codecs/simple-amplifier.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 BayLibre, SAS.
 * Author: Jerome Brunet <[email protected]>
 */

#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
#include <sound/soc.h>

#define DRV_NAME

struct simple_amp {};

static int drv_event(struct snd_soc_dapm_widget *w,
		     struct snd_kcontrol *control, int event)
{}

static const struct snd_soc_dapm_widget simple_amp_dapm_widgets[] =;

static const struct snd_soc_dapm_route simple_amp_dapm_routes[] =;

static const struct snd_soc_component_driver simple_amp_component_driver =;

static int simple_amp_probe(struct platform_device *pdev)
{}

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

static struct platform_driver simple_amp_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();