#include <linux/device.h>
#include <linux/module.h>
#include <linux/mfd/arizona/core.h>
#include <linux/mfd/arizona/registers.h>
#include "arizona.h"
#define WM5102_NUM_AOD_ISR …
#define WM5102_NUM_ISR …
static const struct reg_sequence wm5102_reva_patch[] = …;
static const struct reg_sequence wm5102_revb_patch[] = …;
int wm5102_patch(struct arizona *arizona)
{ … }
static const struct regmap_irq wm5102_aod_irqs[ARIZONA_NUM_IRQ] = …;
const struct regmap_irq_chip wm5102_aod = …;
static const struct regmap_irq wm5102_irqs[ARIZONA_NUM_IRQ] = …;
const struct regmap_irq_chip wm5102_irq = …;
static const struct reg_default wm5102_reg_default[] = …;
static bool wm5102_readable_register(struct device *dev, unsigned int reg)
{ … }
static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
{ … }
#define WM5102_MAX_REGISTER …
const struct regmap_config wm5102_spi_regmap = …;
EXPORT_SYMBOL_GPL(…);
const struct regmap_config wm5102_i2c_regmap = …;
EXPORT_SYMBOL_GPL(…);