Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rb532_button.c File Reference
#include <linux/input-polldev.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <asm/mach-rc32434/gpio.h>
#include <asm/mach-rc32434/rb.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "rb532-button"
 
#define RB532_BTN_RATE   100 /* msec */
 
#define RB532_BTN_KSYM   BTN_0
 

Functions

 module_platform_driver (rb532_button_driver)
 
 MODULE_AUTHOR ("Phil Sutter <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Support for S1 button on Routerboard 532")
 
 MODULE_ALIAS ("platform:"DRV_NAME)
 

Macro Definition Documentation

#define DRV_NAME   "rb532-button"

Definition at line 14 of file rb532_button.c.

#define RB532_BTN_KSYM   BTN_0

Definition at line 17 of file rb532_button.c.

#define RB532_BTN_RATE   100 /* msec */

Definition at line 16 of file rb532_button.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRV_NAME)
MODULE_AUTHOR ( "Phil Sutter <[email protected]>"  )
MODULE_DESCRIPTION ( "Support for S1 button on Routerboard 532"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( rb532_button_driver  )