Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nwbutton.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/time.h>
#include <linux/timer.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include "nwbutton.h"

Go to the source code of this file.

Macros

#define __NWBUTTON_C   /* Tell the header file who we are */
 

Functions

int button_add_callback (void(*callback)(void), int count)
 
int button_del_callback (void(*callback)(void))
 
 MODULE_AUTHOR ("Alex Holden")
 
 MODULE_LICENSE ("GPL")
 
 module_init (nwbutton_init)
 
 module_exit (nwbutton_exit)
 

Macro Definition Documentation

#define __NWBUTTON_C   /* Tell the header file who we are */

Definition at line 23 of file nwbutton.c.

Function Documentation

int button_add_callback ( void(*)(void callback,
int  count 
)

Definition at line 56 of file nwbutton.c.

int button_del_callback ( void(*)(void callback)

Definition at line 84 of file nwbutton.c.

MODULE_AUTHOR ( "Alex Holden"  )
module_exit ( nwbutton_exit  )
module_init ( nwbutton_init  )
MODULE_LICENSE ( "GPL"  )