#include <linux/err.h>
#include <linux/export.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include "dummy.h"
struct regulator_dev *dummy_regulator_rdev;
static const struct regulator_init_data dummy_initdata = …;
static const struct regulator_ops dummy_ops;
static const struct regulator_desc dummy_desc = …;
static int dummy_regulator_probe(struct platform_device *pdev)
{ … }
static struct platform_driver dummy_regulator_driver = …;
static struct platform_device *dummy_pdev;
void __init regulator_dummy_init(void)
{ … }