#include <linux/mfd/mc13xxx.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/of_regulator.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include "mc13xxx.h"
static int mc13xxx_regulator_enable(struct regulator_dev *rdev)
{ … }
static int mc13xxx_regulator_disable(struct regulator_dev *rdev)
{ … }
static int mc13xxx_regulator_is_enabled(struct regulator_dev *rdev)
{ … }
static int mc13xxx_regulator_set_voltage_sel(struct regulator_dev *rdev,
unsigned selector)
{ … }
static int mc13xxx_regulator_get_voltage(struct regulator_dev *rdev)
{ … }
const struct regulator_ops mc13xxx_regulator_ops = …;
EXPORT_SYMBOL_GPL(…);
int mc13xxx_fixed_regulator_set_voltage(struct regulator_dev *rdev, int min_uV,
int max_uV, unsigned *selector)
{ … }
EXPORT_SYMBOL_GPL(…);
const struct regulator_ops mc13xxx_fixed_regulator_ops = …;
EXPORT_SYMBOL_GPL(…);
#ifdef CONFIG_OF
int mc13xxx_get_num_regulators_dt(struct platform_device *pdev)
{ … }
EXPORT_SYMBOL_GPL(…);
struct mc13xxx_regulator_init_data *mc13xxx_parse_regulators_dt(
struct platform_device *pdev, struct mc13xxx_regulator *regulators,
int num_regulators)
{ … }
EXPORT_SYMBOL_GPL(…);
#endif
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_ALIAS(…) …;