linux/sound/soc/codecs/ads117x.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * ads117x.c  --  Driver for ads1174/8 ADC chips
 *
 * Copyright 2009 ShotSpotter Inc.
 * Author: Graeme Gregory <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>

#include <linux/of.h>

#define ADS117X_RATES
#define ADS117X_FORMATS

static const struct snd_soc_dapm_widget ads117x_dapm_widgets[] =;

static const struct snd_soc_dapm_route ads117x_dapm_routes[] =;

static struct snd_soc_dai_driver ads117x_dai =;

static const struct snd_soc_component_driver soc_component_dev_ads117x =;

static int ads117x_probe(struct platform_device *pdev)
{}

#if defined(CONFIG_OF)
static const struct of_device_id ads117x_dt_ids[] =;
MODULE_DEVICE_TABLE(of, ads117x_dt_ids);
#endif

static struct platform_driver ads117x_codec_driver =;

module_platform_driver();

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