Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
max8925_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/max8925.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  max8925_onkey_info
 

Macros

#define SW_INPUT   (1 << 7) /* 0/1 -- up/down */
 
#define HARDRESET_EN   (1 << 7)
 
#define PWREN_EN   (1 << 7)
 

Functions

 module_platform_driver (max8925_onkey_driver)
 
 MODULE_DESCRIPTION ("Maxim MAX8925 ONKEY driver")
 
 MODULE_AUTHOR ("Haojian Zhuang <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define HARDRESET_EN   (1 << 7)

Definition at line 31 of file max8925_onkey.c.

#define PWREN_EN   (1 << 7)

Definition at line 32 of file max8925_onkey.c.

#define SW_INPUT   (1 << 7) /* 0/1 -- up/down */

MAX8925 ONKEY driver

Copyright (C) 2009 Marvell International Ltd. Haojian Zhuang haoji.nosp@m.an.z.nosp@m.huang.nosp@m.@mar.nosp@m.vell..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 30 of file max8925_onkey.c.

Function Documentation

MODULE_AUTHOR ( "Haojian Zhuang <[email protected]>"  )
MODULE_DESCRIPTION ( "Maxim MAX8925 ONKEY driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( max8925_onkey_driver  )