Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
88pm860x_onkey.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/mfd/88pm860x.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  pm860x_onkey_info
 

Macros

#define PM8607_WAKEUP   0x0b
 
#define LONG_ONKEY_EN   (1 << 1)
 
#define ONKEY_STATUS   (1 << 0)
 

Functions

 module_platform_driver (pm860x_onkey_driver)
 
 MODULE_DESCRIPTION ("Marvell 88PM860x ONKEY driver")
 
 MODULE_AUTHOR ("Haojian Zhuang <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define LONG_ONKEY_EN   (1 << 1)

Definition at line 32 of file 88pm860x_onkey.c.

#define ONKEY_STATUS   (1 << 0)

Definition at line 33 of file 88pm860x_onkey.c.

#define PM8607_WAKEUP   0x0b

Definition at line 30 of file 88pm860x_onkey.c.

Function Documentation

MODULE_AUTHOR ( "Haojian Zhuang <[email protected]>"  )
MODULE_DESCRIPTION ( "Marvell 88PM860x ONKEY driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pm860x_onkey_driver  )