Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcf50633-regulator.c File Reference
#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.

Macros

#define PCF50633_REGULATOR(_name, _id, _n)
 

Functions

 subsys_initcall (pcf50633_regulator_init)
 
 module_exit (pcf50633_regulator_exit)
 
 MODULE_AUTHOR ("Balaji Rao <[email protected]>")
 
 MODULE_DESCRIPTION ("PCF50633 regulator driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:pcf50633-regulator")
 

Macro Definition Documentation

#define PCF50633_REGULATOR (   _name,
  _id,
  _n 
)
Value:
{ \
.name = _name, \
.id = PCF50633_REGULATOR_##_id, \
.ops = &pcf50633_regulator_ops, \
.n_voltages = _n, \
.type = REGULATOR_VOLTAGE, \
.owner = THIS_MODULE, \
.vsel_reg = PCF50633_REG_##_id##OUT, \
.vsel_mask = 0xff, \
.enable_reg = PCF50633_REG_##_id##OUT + 1, \
.enable_mask = PCF50633_REGULATOR_ON, \
}

Definition at line 27 of file pcf50633-regulator.c.

Function Documentation

MODULE_ALIAS ( "platform:pcf50633-regulator )
MODULE_AUTHOR ( "Balaji Rao <[email protected]>"  )
MODULE_DESCRIPTION ( "PCF50633 regulator driver )
module_exit ( pcf50633_regulator_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( pcf50633_regulator_init  )