#include <linux/init.h>
#include <linux/bug.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/mfd/core.h>
#include <linux/mfd/wm8400-private.h>
#include <linux/mfd/wm8400-audio.h>
#include <linux/regmap.h>
#include <linux/slab.h>
static bool wm8400_volatile(struct device *dev, unsigned int reg)
{ … }
static int wm8400_register_codec(struct wm8400 *wm8400)
{ … }
static int wm8400_init(struct wm8400 *wm8400,
struct wm8400_platform_data *pdata)
{ … }
static const struct regmap_config wm8400_regmap_config = …;
void wm8400_reset_codec_reg_cache(struct wm8400 *wm8400)
{ … }
EXPORT_SYMBOL_GPL(…);
#if IS_ENABLED(CONFIG_I2C)
static int wm8400_i2c_probe(struct i2c_client *i2c)
{ … }
static const struct i2c_device_id wm8400_i2c_id[] = …;
static struct i2c_driver wm8400_i2c_driver = …;
#endif
static int __init wm8400_driver_init(void)
{ … }
subsys_initcall(wm8400_driver_init);