Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio_keys_polled.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/input-polldev.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>

Go to the source code of this file.

Data Structures

struct  gpio_keys_button_data
 
struct  gpio_keys_polled_dev
 

Macros

#define DRV_NAME   "gpio-keys-polled"
 

Functions

 module_platform_driver (gpio_keys_polled_driver)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Gabor Juhos <[email protected]>")
 
 MODULE_DESCRIPTION ("Polled GPIO Buttons driver")
 
 MODULE_ALIAS ("platform:"DRV_NAME)
 

Macro Definition Documentation

#define DRV_NAME   "gpio-keys-polled"

Definition at line 31 of file gpio_keys_polled.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRV_NAME)
MODULE_AUTHOR ( "Gabor Juhos <[email protected]>"  )
MODULE_DESCRIPTION ( "Polled GPIO Buttons driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( gpio_keys_polled_driver  )