#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/acpi.h>
#include <linux/gpio/consumer.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/jack.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/rt5682.h>
#include "rl6231.h"
#include "rt5682.h"
static const struct rt5682_platform_data i2s_default_platform_data = …;
static const struct regmap_config rt5682_regmap = …;
static void rt5682_jd_check_handler(struct work_struct *work)
{ … }
static irqreturn_t rt5682_irq(int irq, void *data)
{ … }
static struct snd_soc_dai_driver rt5682_dai[] = …;
static void rt5682_i2c_disable_regulators(void *data)
{ … }
static int rt5682_i2c_probe(struct i2c_client *i2c)
{ … }
static void rt5682_i2c_shutdown(struct i2c_client *client)
{ … }
static void rt5682_i2c_remove(struct i2c_client *client)
{ … }
static const struct of_device_id rt5682_of_match[] = …;
MODULE_DEVICE_TABLE(of, rt5682_of_match);
static const struct acpi_device_id rt5682_acpi_match[] = …;
MODULE_DEVICE_TABLE(acpi, rt5682_acpi_match);
static const struct i2c_device_id rt5682_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, rt5682_i2c_id);
static struct i2c_driver rt5682_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;