Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pm8921-core.c File Reference
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/msm_ssbi.h>
#include <linux/mfd/core.h>
#include <linux/mfd/pm8xxx/pm8921.h>
#include <linux/mfd/pm8xxx/core.h>

Go to the source code of this file.

Data Structures

struct  pm8921
 

Macros

#define pr_fmt(fmt)   "%s: " fmt, __func__
 
#define REG_HWREV   0x002 /* PMIC4 revision */
 
#define REG_HWREV_2   0x0E8 /* PMIC4 revision 2 */
 

Functions

 subsys_initcall (pm8921_init)
 
 module_exit (pm8921_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DESCRIPTION ("PMIC 8921 core driver")
 
 MODULE_VERSION ("1.0")
 
 MODULE_ALIAS ("platform:pm8921-core")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "%s: " fmt, __func__

Definition at line 14 of file pm8921-core.c.

#define REG_HWREV   0x002 /* PMIC4 revision */

Definition at line 25 of file pm8921-core.c.

#define REG_HWREV_2   0x0E8 /* PMIC4 revision 2 */

Definition at line 26 of file pm8921-core.c.

Function Documentation

MODULE_ALIAS ( "platform:pm8921-core )
MODULE_DESCRIPTION ( "PMIC 8921 core driver )
module_exit ( pm8921_exit  )
MODULE_LICENSE ( "GPL v2 )
MODULE_VERSION ( "1.0"  )
subsys_initcall ( pm8921_init  )