#ifndef MFD_CORE_H
#define MFD_CORE_H
#include <linux/platform_device.h>
#define MFD_RES_SIZE(arr) …
#define MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg, _use_of_reg, _match) …
#define MFD_CELL_OF_REG(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg) …
#define MFD_CELL_OF(_name, _res, _pdata, _pdsize, _id, _compat) …
#define MFD_CELL_ACPI(_name, _res, _pdata, _pdsize, _id, _match) …
#define MFD_CELL_BASIC(_name, _res, _pdata, _pdsize, _id) …
#define MFD_CELL_RES(_name, _res) …
#define MFD_CELL_NAME(_name) …
#define MFD_DEP_LEVEL_NORMAL …
#define MFD_DEP_LEVEL_HIGH …
struct irq_domain;
struct software_node;
struct mfd_cell_acpi_match { … };
struct mfd_cell { … };
static inline const struct mfd_cell *mfd_get_cell(struct platform_device *pdev)
{ … }
extern int mfd_add_devices(struct device *parent, int id,
const struct mfd_cell *cells, int n_devs,
struct resource *mem_base,
int irq_base, struct irq_domain *irq_domain);
static inline int mfd_add_hotplug_devices(struct device *parent,
const struct mfd_cell *cells, int n_devs)
{ … }
extern void mfd_remove_devices(struct device *parent);
extern void mfd_remove_devices_late(struct device *parent);
extern int devm_mfd_add_devices(struct device *dev, int id,
const struct mfd_cell *cells, int n_devs,
struct resource *mem_base,
int irq_base, struct irq_domain *irq_domain);
#endif