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

Go to the source code of this file.

Macros

#define DRIVER_NAME   "msic_power_btn"
 
#define MSIC_PB_LEVEL   (1 << 3) /* 1 - release, 0 - press */
 
#define MSIC_PWRBTNM   (1 << 0)
 

Functions

 module_platform_driver (mfld_pb_driver)
 
 MODULE_AUTHOR ("Hong Liu <[email protected]>")
 
 MODULE_DESCRIPTION ("Intel Medfield Power Button Driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:"DRIVER_NAME)
 

Macro Definition Documentation

#define DRIVER_NAME   "msic_power_btn"

Definition at line 28 of file intel_mid_powerbtn.c.

#define MSIC_PB_LEVEL   (1 << 3) /* 1 - release, 0 - press */

Definition at line 30 of file intel_mid_powerbtn.c.

#define MSIC_PWRBTNM   (1 << 0)

Definition at line 36 of file intel_mid_powerbtn.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRIVER_NAME)
MODULE_AUTHOR ( "Hong Liu <[email protected]>"  )
MODULE_DESCRIPTION ( "Intel Medfield Power Button Driver"  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( mfld_pb_driver  )