#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/mfd/pcf50633/core.h>
#include <linux/mfd/pcf50633/pmic.h>
Go to the source code of this file.
#define PCF50633_REGULATOR |
( |
|
_name, |
|
|
|
_id, |
|
|
|
_n |
|
) |
| |
Value:{ \
.name = _name, \
.id = PCF50633_REGULATOR_##_id, \
.ops = &pcf50633_regulator_ops, \
.n_voltages = _n, \
.vsel_reg = PCF50633_REG_##_id##
OUT, \
.vsel_mask = 0xff, \
.enable_reg = PCF50633_REG_##_id##OUT + 1, \
}
Definition at line 27 of file pcf50633-regulator.c.
MODULE_ALIAS |
( |
"platform:pcf50633-regulator" |
| ) |
|
module_exit |
( |
pcf50633_regulator_exit |
| ) |
|
subsys_initcall |
( |
pcf50633_regulator_init |
| ) |
|