Linux Kernel
3.7.1
|
#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]>") | |
#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 Several fixes by Felipe Balbi .de- schri jver @noki a.co mfelip e.ba lbi@n okia .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.
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" | ) |