#include <linux/clk.h>
#include <linux/iopoll.h>
#include <linux/mfd/atmel-hlcdc.h>
#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#define ATMEL_HLCDC_REG_MAX …
struct atmel_hlcdc_regmap { … };
static const struct mfd_cell atmel_hlcdc_cells[] = …;
static int regmap_atmel_hlcdc_reg_write(void *context, unsigned int reg,
unsigned int val)
{ … }
static int regmap_atmel_hlcdc_reg_read(void *context, unsigned int reg,
unsigned int *val)
{ … }
static const struct regmap_config atmel_hlcdc_regmap_config = …;
static int atmel_hlcdc_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id atmel_hlcdc_match[] = …;
MODULE_DEVICE_TABLE(of, atmel_hlcdc_match);
static struct platform_driver atmel_hlcdc_driver = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;