Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
twl4030-pwrbutton.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/i2c/twl.h>

Go to the source code of this file.

Macros

#define PWR_PWRON_IRQ   (1 << 0)
 
#define STS_HW_CONDITIONS   0xf
 

Functions

 module_init (twl4030_pwrbutton_init)
 
 module_exit (twl4030_pwrbutton_exit)
 
 MODULE_ALIAS ("platform:twl4030_pwrbutton")
 
 MODULE_DESCRIPTION ("Triton2 Power Button")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Peter De Schrijver <[email protected]>")
 
 MODULE_AUTHOR ("Felipe Balbi <[email protected]>")
 

Macro Definition Documentation

#define PWR_PWRON_IRQ   (1 << 0)

twl4030-pwrbutton.c - TWL4030 Power Button Input Driver

Copyright (C) 2008-2009 Nokia Corporation

Written by Peter De Schrijver peter.nosp@m..de-.nosp@m.schri.nosp@m.jver.nosp@m.@noki.nosp@m.a.co.nosp@m.m Several fixes by Felipe Balbi felip.nosp@m.e.ba.nosp@m.lbi@n.nosp@m.okia.nosp@m..com

This file is subject to the terms and conditions of the GNU General Public License. See the file "COPYING" in the main directory of this archive for more details.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 32 of file twl4030-pwrbutton.c.

#define STS_HW_CONDITIONS   0xf

Definition at line 34 of file twl4030-pwrbutton.c.

Function Documentation

MODULE_ALIAS ( "platform:twl4030_pwrbutton"  )
MODULE_AUTHOR ( "Peter De Schrijver <[email protected]>"  )
MODULE_AUTHOR ( "Felipe Balbi <[email protected]>"  )
MODULE_DESCRIPTION ( "Triton2 Power Button"  )
module_exit ( twl4030_pwrbutton_exit  )
module_init ( twl4030_pwrbutton_init  )
MODULE_LICENSE ( "GPL"  )